diff options
author | Benjamin Otte <otte@redhat.com> | 2019-11-21 19:36:06 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-11-22 07:46:18 +0100 |
commit | 27d05102ab6182220da454b2597d975cf42ba077 (patch) | |
tree | 8e6125c41cfe40d4ae9125a92000a64af82215a5 /tests/visuals | |
parent | f5e4dc824cd701ca032075fca8aca659456504da (diff) | |
download | gtk+-27d05102ab6182220da454b2597d975cf42ba077.tar.gz |
builder: Remove user_data argument from gtk_builder_connect_signals()
This is pretty unused and gets in the way of the next steps.
A potential side effect is that for templates the widget was passed as
the user data argument. If that turns out to be important, we have to
special case that situation.
Diffstat (limited to 'tests/visuals')
-rw-r--r-- | tests/visuals/visuals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visuals/visuals.c b/tests/visuals/visuals.c index 7faed00536..f9f1d8f8a7 100644 --- a/tests/visuals/visuals.c +++ b/tests/visuals/visuals.c @@ -68,7 +68,7 @@ main (int argc, char *argv[]) builder = gtk_builder_new (); gtk_builder_add_from_file (builder, filename, NULL); - gtk_builder_connect_signals (builder, NULL); + gtk_builder_connect_signals (builder); window = GTK_WIDGET (gtk_builder_get_object (builder, "window1")); g_object_unref (G_OBJECT (builder)); |