summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-04-19 23:32:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-05-05 15:03:57 -0400
commitc33d8c7005f11d32451b92f18006ba317bc9eae0 (patch)
tree93c0ff2e409f930fb974330b7b5ef11270df9801
parent4cf61414622816211baf6a1e5327978d399e9000 (diff)
downloadgtk+-c33d8c7005f11d32451b92f18006ba317bc9eae0.tar.gz
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.
-rw-r--r--gtk/gtkwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 95b8e242bb..deb639798e 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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);