[gtk+/parasite2] inspector: Don't flash the window initially



commit 5caeec2d34aac44ee9703ae699adc6726a64bb93
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 8 20:31:50 2014 -0400

    inspector: Don't flash the window initially
    
    This is flickery, and not really necessary.

 modules/inspector/window.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/modules/inspector/window.c b/modules/inspector/window.c
index 898afda..04790b2 100644
--- a/modules/inspector/window.c
+++ b/modules/inspector/window.c
@@ -156,10 +156,7 @@ gtk_inspector_window_select_initially (GtkInspectorWindow *iw)
   g_list_free (toplevels);
 
   if (widget)
-    {
-      gtk_inspector_widget_tree_scan (GTK_INSPECTOR_WIDGET_TREE (iw->widget_tree), widget);
-      gtk_inspector_widget_tree_select_object (GTK_INSPECTOR_WIDGET_TREE (iw->widget_tree), G_OBJECT 
(widget));
-    }
+    gtk_inspector_widget_tree_scan (GTK_INSPECTOR_WIDGET_TREE (iw->widget_tree), widget);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]