Commit 2b637c55 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

panel-applets-manager: fix cast-function-type warning

parent 045fe130
Pipeline #31033 failed with stage
in 2 minutes and 26 seconds
......@@ -47,8 +47,7 @@ static GSList *panel_applets_managers = NULL;
static void
_panel_applets_manager_cleanup (gpointer data)
{
g_slist_foreach (panel_applets_managers, (GFunc) g_object_unref, NULL);
g_slist_free (panel_applets_managers);
g_slist_free_full (panel_applets_managers, g_object_unref);
panel_applets_managers = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment