summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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 ();