widget: Don't show widget resizes in the inspector

Avoiding this sort of visual debugging in the inspector
is the main reason we have per-display debug flags now.
This commit is contained in:
Matthias Clasen 2016-04-19 23:32:26 -04:00
parent d58885c9b9
commit d6ac55102e

View File

@ -5959,7 +5959,7 @@ gtk_widget_size_allocate_with_baseline (GtkWidget *widget,
gtk_widget_push_verify_invariants (widget);
#ifdef G_ENABLE_DEBUG
if (GTK_DEBUG_CHECK (RESIZE))
if (GTK_DISPLAY_DEBUG_CHECK (gtk_widget_get_display (widget), RESIZE))
{
priv->highlight_resize = TRUE;
gtk_widget_queue_draw (widget);