]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/commitdiff
panel-plugin/xfce4-hdaps.c: replace panel_slice_free with g_slice_free.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 8 Feb 2021 12:17:28 +0000 (07:17 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 8 Feb 2021 12:17:28 +0000 (07:17 -0500)
Same deal as with panel_slice_new0/g_slice_new0. Apparently this was
deprecated and is now gone in 4.16.

panel-plugin/xfce4-hdaps.c

index 59581dfeb31f8892949fc3d75223ffe261507e5d..ac8b2d7e37191426a285d8d87f16155e60d16ff4 100644 (file)
@@ -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);
 }