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;
}
/* ...and finally free the plugin structure. */
- panel_slice_free(HdapsPlugin, hdaps);
+ g_slice_free(HdapsPlugin, hdaps);
}