summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-18 14:22:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-18 14:33:41 -0400
commit5368f98dd58bf8520337b464dbbd7ed71488da99 (patch)
treecb095ff94ca1d0961d484701feaf2f66194dcf64 /tests
parentcf47bb9355bc3d91d60164d2befc7f535199e3d6 (diff)
downloadgtk+-5368f98dd58bf8520337b464dbbd7ed71488da99.tar.gz
demos: Stop using gtk_button_clicked
Diffstat (limited to 'tests')
-rw-r--r--tests/testvolumebutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testvolumebutton.c b/tests/testvolumebutton.c
index 73e569222e..04bff92ccd 100644
--- a/tests/testvolumebutton.c
+++ b/tests/testvolumebutton.c
@@ -111,7 +111,7 @@ main (int argc,
button2);
gtk_widget_show (window);
- gtk_button_clicked (GTK_BUTTON (button));
+ g_signal_emit_by_name (button, "clicked");
g_timeout_add (4000, (GSourceFunc) show_error, window);
gtk_main ();