summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2013-05-31 15:53:21 -0500
committerScott Balneaves <[email protected]>2013-05-31 15:53:21 -0500
commit7c3cb0e6c7bd1fcf4711fec0a5a3e59acef1b36c (patch)
tree11f77e1abf94d8ae0d47ce48e9f31b0e4f1ac5fd
parent34559e7488e62036744ac0d4b61d9aef5c6046b4 (diff)
downloadmate-panel-7c3cb0e6c7bd1fcf4711fec0a5a3e59acef1b36c.tar.bz2
mate-panel-7c3cb0e6c7bd1fcf4711fec0a5a3e59acef1b36c.tar.xz
Another fix for #111
-rw-r--r--mate-panel/panel-profile.c2
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")) {