[gtk+] tests: Make widget-factory close when window is closed



commit 396ae8f1de41423efc02abd793243514053934c8
Author: Benjamin Otte <otte redhat com>
Date:   Fri Dec 23 22:21:45 2011 +0100

    tests: Make widget-factory close when window is closed

 tests/widget-factory.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/widget-factory.ui b/tests/widget-factory.ui
index dbef576..1336f4c 100644
--- a/tests/widget-factory.ui
+++ b/tests/widget-factory.ui
@@ -54,6 +54,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
   <object class="GtkAccelGroup" id="accelgroup1"/>
   <object class="GtkWindow" id="window">
     <property name="can_focus">False</property>
+    <signal name="destroy" handler="gtk_main_quit" swapped="no"/>
+    <signal name="delete-event" handler="gtk_false" swapped="no"/>
     <child>
       <object class="GtkBox" id="box1">
         <property name="visible">True</property>



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