]> Pileus Git - ~andy/gtk/commitdiff
Avoid a critical warning during tab DND
authorMatthias Clasen <mclasen@redhat.com>
Sat, 15 Jan 2011 02:15:06 +0000 (21:15 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 15 Jan 2011 02:15:06 +0000 (21:15 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=639380

gtk/gtkstylecontext.c

index 12399915f253940024e13a37f4ec22f1943eff22..8e01b9c0b447445d19512f55701dbc1f601bea8e 100644 (file)
@@ -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 ||