diff options
-rw-r--r-- | mate-panel/panel-profile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index 7b157b67..57e11d00 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -813,6 +813,8 @@ panel_profile_background_change_notify (GSettings *settings, PanelBackground *background; panel_widget = panel_toplevel_get_panel_widget (toplevel); + if (panel_widget == NULL) + return; background = &panel_widget->background; if (!strcmp (key, "type")) { |