summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c
index 867ab2ee..80f0e90c 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -461,7 +461,7 @@ eel_background_expose (GtkWidget *widget,
widget_window = gtk_widget_get_window (widget);
#if !GTK_CHECK_VERSION (3, 0, 0)
- g_return_if_fail (event->window != widget_window);
+ g_return_if_fail (event->window == widget_window);
#endif
EelBackground *background = eel_get_widget_background (widget);