diff --git a/panel-plugin/buttons/wckbuttons.c b/panel-plugin/buttons/wckbuttons.c index 15760237d6eca27402e60b4498f871e5dcadb97c..790f5af3cb68e4b5728805b86aeeee3faaf616eb 100644 --- a/panel-plugin/buttons/wckbuttons.c +++ b/panel-plugin/buttons/wckbuttons.c @@ -138,7 +138,7 @@ wckbuttons_new (XfcePanelPlugin *plugin) GtkWidget *label; /* allocate memory for the plugin structure */ - wb = panel_slice_new0 (WBPlugin); + wb = g_slice_new0 (WBPlugin); /* pointer to plugin */ wb->plugin = plugin; @@ -189,7 +189,7 @@ wckbuttons_free (XfcePanelPlugin *plugin, WBPlugin *wb) g_free (wb->setting1); /* free the plugin structure */ - panel_slice_free (WBPlugin, wb); + g_slice_free (WBPlugin, wb); } diff --git a/panel-plugin/title/windowck.c b/panel-plugin/title/windowck.c index f8081cb5c14b1fa6658c575a0fcaaa17634eadae..36498534700a4a8e4f4c342261f50a35670dd95e 100644 --- a/panel-plugin/title/windowck.c +++ b/panel-plugin/title/windowck.c @@ -80,7 +80,7 @@ static void windowck_read(WindowckPlugin *wckp) { const gchar *title_font; /* allocate memory for the preferences structure */ - wckp->prefs = panel_slice_new0(WCKPreferences); + wckp->prefs = g_slice_new0(WCKPreferences); /* get the plugin config file location */ file = xfce_panel_plugin_save_location(wckp->plugin, TRUE);