14 lines
539 B
Diff
14 lines
539 B
Diff
|
Index: gtk+-3.22.0/gtk/gtkwidget.c
|
||
|
===================================================================
|
||
|
--- gtk+-3.22.0.orig/gtk/gtkwidget.c
|
||
|
+++ gtk+-3.22.0/gtk/gtkwidget.c
|
||
|
@@ -6998,7 +6998,7 @@ gtk_widget_draw_internal (GtkWidget *wid
|
||
|
if (push_group)
|
||
|
cairo_push_group (cr);
|
||
|
|
||
|
-#ifdef G_ENABLE_DEBUG
|
||
|
+#ifdef G_ENABLE_CONSISTENCY_CHECKS
|
||
|
if (_gtk_widget_get_alloc_needed (widget))
|
||
|
g_warning ("%s %p is drawn without a current allocation. This should not happen.", G_OBJECT_TYPE_NAME (widget), widget);
|
||
|
#endif
|