]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/xfce4-hdaps.c
panel-plugin/xfce4-hdaps.c: replace panel_slice_free with g_slice_free.
[xfce4-hdaps.git] / panel-plugin / xfce4-hdaps.c
index 4350023418990fb740315a689cc3f6d6f4ddef97..ac8b2d7e37191426a285d8d87f16155e60d16ff4 100644 (file)
@@ -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);
 }