diff options
-rw-r--r-- | mate-panel/panel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-panel/panel.c b/mate-panel/panel.c index 49e10b23..89544246 100644 --- a/mate-panel/panel.c +++ b/mate-panel/panel.c @@ -892,8 +892,7 @@ move_applet (PanelWidget *panel, int pos, int applet_index) parent = gtk_widget_get_parent (info->widget); - if (info != NULL && - info->widget != NULL && + if (info->widget != NULL && parent != NULL && PANEL_IS_WIDGET (parent)) { GSList *forb; |