summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c24aa39)
The panel_slice_new0() macro has apparently been deprecated since
libxfce4panel-4.8, but who knew. Recent versions of glib (now required
by the panel itself) provide the equivalent g_slice_new0().
GtkOrientation orientation;
/* Allocate memory for the plugin struct, and zero it. */
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;
/* The HdapsPlugin gets a copy of the XfcePanelPlugin. */
hdaps->plugin = plugin;