mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Avoid a critical warning during tab DND
https://bugzilla.gnome.org/show_bug.cgi?id=639380
This commit is contained in:
parent
d790fd4fdd
commit
867dc0bd0d
@ -4095,7 +4095,7 @@ gtk_render_frame_gap (GtkStyleContext *context,
|
|||||||
g_return_if_fail (cr != NULL);
|
g_return_if_fail (cr != NULL);
|
||||||
g_return_if_fail (width > 0);
|
g_return_if_fail (width > 0);
|
||||||
g_return_if_fail (height > 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);
|
g_return_if_fail (xy0_gap >= 0);
|
||||||
|
|
||||||
if (gap_side == GTK_POS_LEFT ||
|
if (gap_side == GTK_POS_LEFT ||
|
||||||
|
Loading…
Reference in New Issue
Block a user