diff options
Diffstat (limited to 'mate-panel/libpanel-util/panel-cleanup.c')
-rw-r--r-- | mate-panel/libpanel-util/panel-cleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/libpanel-util/panel-cleanup.c b/mate-panel/libpanel-util/panel-cleanup.c index e3c7063b..d615b83c 100644 --- a/mate-panel/libpanel-util/panel-cleanup.c +++ b/mate-panel/libpanel-util/panel-cleanup.c @@ -2,6 +2,7 @@ * panel-cleanup.c: utility to clean up things on exit * * Copyright (C) 2008 Novell, Inc. + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -74,7 +75,6 @@ panel_cleanup_unregister (PanelCleanFunc func, gpointer data) { GSList *l, *next; - PanelClean *clean; g_return_if_fail (func != NULL); @@ -86,7 +86,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); |