diff options
Diffstat (limited to 'mate-panel/libpanel-util/panel-cleanup.c')
-rw-r--r-- | mate-panel/libpanel-util/panel-cleanup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-panel/libpanel-util/panel-cleanup.c b/mate-panel/libpanel-util/panel-cleanup.c index e3c7063b..199a7036 100644 --- a/mate-panel/libpanel-util/panel-cleanup.c +++ b/mate-panel/libpanel-util/panel-cleanup.c @@ -74,7 +74,6 @@ panel_cleanup_unregister (PanelCleanFunc func, gpointer data) { GSList *l, *next; - PanelClean *clean; g_return_if_fail (func != NULL); @@ -86,7 +85,7 @@ panel_cleanup_unregister (PanelCleanFunc func, do { next = l->next; - clean = l->data; + PanelClean *clean = l->data; if (clean->func == func && clean->data == data) { g_slice_free (PanelClean, clean); cleaner = g_slist_delete_link (cleaner, l); |