X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=panel-plugin%2Fxfce4-hdaps.c;h=ac8b2d7e37191426a285d8d87f16155e60d16ff4;hb=b9ce0d116a61d4c0e000672a6efbc235db709f75;hp=4350023418990fb740315a689cc3f6d6f4ddef97;hpb=a6a355e5f1a8fcc4e46f10a1a828ffee3809e122;p=xfce4-hdaps.git diff --git a/panel-plugin/xfce4-hdaps.c b/panel-plugin/xfce4-hdaps.c index 4350023..ac8b2d7 100644 --- a/panel-plugin/xfce4-hdaps.c +++ b/panel-plugin/xfce4-hdaps.c @@ -235,7 +235,7 @@ static HdapsPlugin *hdaps_new(XfcePanelPlugin *plugin) { GtkOrientation orientation; /* Allocate memory for the plugin struct, and zero it. */ - hdaps = panel_slice_new0(HdapsPlugin); + hdaps = g_slice_new0(HdapsPlugin); /* The HdapsPlugin gets a copy of the XfcePanelPlugin. */ hdaps->plugin = plugin; @@ -311,7 +311,7 @@ static void hdaps_free(XfcePanelPlugin *plugin, } /* ...and finally free the plugin structure. */ - panel_slice_free(HdapsPlugin, hdaps); + g_slice_free(HdapsPlugin, hdaps); }