summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2013-05-31 14:32:10 -0500
committerScott Balneaves <[email protected]>2013-05-31 14:32:10 -0500
commit34559e7488e62036744ac0d4b61d9aef5c6046b4 (patch)
tree97117d7e0a96715ef3c37566975f98b61cb5f180
parentd674f6afc07790eb4b99a2206fdf6b6513f2d208 (diff)
downloadmate-panel-34559e7488e62036744ac0d4b61d9aef5c6046b4.tar.bz2
mate-panel-34559e7488e62036744ac0d4b61d9aef5c6046b4.tar.xz
fix for #111
-rw-r--r--mate-panel/panel-background.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c
index 6e0db55e..196a6a6b 100644
--- a/mate-panel/panel-background.c
+++ b/mate-panel/panel-background.c
@@ -594,6 +594,7 @@ panel_background_set_gdk_color (PanelBackground *background,
GdkColor *gdk_color)
{
g_return_if_fail (gdk_color != NULL);
+ g_return_if_fail (background != NULL);
if (background->color.gdk.red == gdk_color->red &&
background->color.gdk.green == gdk_color->green &&