[gtk+/gtk-3-20] widget: Don't show widget resizes in the inspector
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] widget: Don't show widget resizes in the inspector
- Date: Thu, 5 May 2016 19:19:58 +0000 (UTC)
commit c33d8c7005f11d32451b92f18006ba317bc9eae0
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 19 23:32:26 2016 -0400
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.
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 95b8e24..deb6397 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]