summaryrefslogtreecommitdiff
path: root/testsuite/gtk
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 /testsuite/gtk
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 'testsuite/gtk')
-rw-r--r--testsuite/gtk/builder.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/testsuite/gtk/builder.c b/testsuite/gtk/builder.c
index a31dd910e6..5513834256 100644
--- a/testsuite/gtk/builder.c
+++ b/testsuite/gtk/builder.c
@@ -244,7 +244,6 @@ test_connect_signals (void)
"</interface>";
builder = builder_new_from_string (buffer, -1, NULL);
- gtk_builder_connect_signals (builder);
window = gtk_builder_get_object (builder, "window1");
gtk_window_set_title (GTK_WINDOW (window), "test");
@@ -258,7 +257,6 @@ test_connect_signals (void)
g_object_unref (builder);
builder = builder_new_from_string (buffer_order, -1, NULL);
- gtk_builder_connect_signals (builder);
window = gtk_builder_get_object (builder, "window1");
normal = 0;
gtk_window_set_title (GTK_WINDOW (window), "test");
@@ -270,7 +268,6 @@ test_connect_signals (void)
strlen (buffer_extra), NULL);
gtk_builder_add_from_string (builder, buffer_extra2,
strlen (buffer_extra2), NULL);
- gtk_builder_connect_signals (builder);
window = gtk_builder_get_object (builder, "window2");
gtk_window_set_title (GTK_WINDOW (window), "test");
g_assert (normal == 30);
@@ -289,7 +286,6 @@ test_connect_signals (void)
builder = builder_new_from_string (buffer_after_child, -1, NULL);
window = gtk_builder_get_object (builder, "window1");
- gtk_builder_connect_signals (builder);
gtk_window_set_title (GTK_WINDOW (window), "test");
g_assert (normal == 1);
@@ -2601,7 +2597,6 @@ test_anaconda_signal (void)
"</interface>";
builder = builder_new_from_string (buffer, -1, NULL);
- gtk_builder_connect_signals (builder);
g_object_unref (builder);
}