[gtk+] reftests: Automatically connect signals



commit 1e4fea7ca97cf3cb02f553ced58542763769c034
Author: Benjamin Otte <otte redhat com>
Date:   Fri May 30 04:31:40 2014 +0200

    reftests: Automatically connect signals

 testsuite/reftests/gtk-reftest.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c
index 6ba5399..f3e4bfd 100644
--- a/testsuite/reftests/gtk-reftest.c
+++ b/testsuite/reftests/gtk-reftest.c
@@ -298,6 +298,7 @@ snapshot_ui_file (const char *ui_file)
   builder = gtk_builder_new ();
   gtk_builder_add_from_file (builder, ui_file, &error);
   g_assert_no_error (error);
+  gtk_builder_connect_signals (builder, NULL);
   window = builder_get_toplevel (builder);
   g_object_unref (builder);
   g_assert (window);


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