forked from AuroraMiddleware/gtk
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:
parent
d58885c9b9
commit
d6ac55102e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user