diff options
Diffstat (limited to 'mate-panel/applet.c')
-rw-r--r-- | mate-panel/applet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/applet.c b/mate-panel/applet.c index ce637d29..3d81eab4 100644 --- a/mate-panel/applet.c +++ b/mate-panel/applet.c @@ -180,7 +180,8 @@ mate_panel_applet_locked_change_notify (GSettings *settings, AppletInfo *info; PanelWidget *panel_widget; - g_assert (applet != NULL); + if (applet == NULL || !GTK_IS_WIDGET (applet)) + return; info = (AppletInfo *) g_object_get_data (G_OBJECT (applet), "applet_info"); |