summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-background.c')
-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 &&