From 867dc0bd0d349f4e73fab6fc8bfb141e61e4139c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 14 Jan 2011 21:15:06 -0500 Subject: [PATCH] Avoid a critical warning during tab DND https://bugzilla.gnome.org/show_bug.cgi?id=639380 --- gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 12399915f2..8e01b9c0b4 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -4095,7 +4095,7 @@ gtk_render_frame_gap (GtkStyleContext *context, g_return_if_fail (cr != NULL); g_return_if_fail (width > 0); g_return_if_fail (height > 0); - g_return_if_fail (xy0_gap < xy1_gap); + g_return_if_fail (xy0_gap <= xy1_gap); g_return_if_fail (xy0_gap >= 0); if (gap_side == GTK_POS_LEFT ||