[gtk+] inspector: Prevent looping when picking widgets



commit 0c417dfc3013bea609507f15352699afd59d0969
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 30 10:33:28 2014 -0400

    inspector: Prevent looping when picking widgets
    
    What was happening that the button press event that we use
    to select a widget caused another clicked signal emission of
    the inspect button, starting another pick action.

 gtk/inspector/inspect-button.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c
index ad95480..ce89bfe 100644
--- a/gtk/inspector/inspect-button.c
+++ b/gtk/inspector/inspect-button.c
@@ -301,7 +301,7 @@ property_query_event (GtkWidget *widget,
         }
     }
 
-  return FALSE;
+  return TRUE;
 }
 
 void


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