summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-11-22 06:31:33 +0100
committerBenjamin Otte <otte@redhat.com>2019-11-22 17:42:31 +0100
commitb025ee428cd5f4f56c78c6bca5a04bd065e9936a (patch)
tree1bb1972a0e5535c724ad9f396007d7960310a383 /tests
parent82395a93b0005ee1ee2acfbdec260c375a52381e (diff)
downloadgtk+-b025ee428cd5f4f56c78c6bca5a04bd065e9936a.tar.gz
builder: Connect signals automatically
gtk_builder_connect_signals() is no longer necessary, because all the setup that made it necessary to have this extra step is now done automatically via the closure functions.
Diffstat (limited to 'tests')
-rw-r--r--tests/teststackedheaders.c1
-rw-r--r--tests/visuals/visuals.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/teststackedheaders.c b/tests/teststackedheaders.c
index 60a03b6a68..40a9cb6ef1 100644
--- a/tests/teststackedheaders.c
+++ b/tests/teststackedheaders.c
@@ -34,7 +34,6 @@ main (int argc, char *argv[])
gtk_builder_add_callback_symbol (builder, "back_to_main", G_CALLBACK (back_to_main));
gtk_builder_add_callback_symbol (builder, "go_to_secondary", G_CALLBACK (go_to_secondary));
gtk_builder_add_from_file (builder, "teststackedheaders.ui", NULL);
- gtk_builder_connect_signals (builder);
win = (GtkWidget *)gtk_builder_get_object (builder, "window");
header_stack = (GtkWidget *)gtk_builder_get_object (builder, "header_stack");
diff --git a/tests/visuals/visuals.c b/tests/visuals/visuals.c
index f9f1d8f8a7..069d8132f3 100644
--- a/tests/visuals/visuals.c
+++ b/tests/visuals/visuals.c
@@ -68,7 +68,6 @@ main (int argc, char *argv[])
builder = gtk_builder_new ();
gtk_builder_add_from_file (builder, filename, NULL);
- gtk_builder_connect_signals (builder);
window = GTK_WIDGET (gtk_builder_get_object (builder, "window1"));
g_object_unref (G_OBJECT (builder));