]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/xfce4-hdaps.c
panel-plugin/xfce4-hdaps.c: replace panel_slice_new0 with g_slice_new0.
[xfce4-hdaps.git] / panel-plugin / xfce4-hdaps.c
index 4350023418990fb740315a689cc3f6d6f4ddef97..59581dfeb31f8892949fc3d75223ffe261507e5d 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;