tests: Connect signal properly for testvolumebutton

This commit is contained in:
Alexander Mikhaylenko 2020-05-11 19:54:32 +05:00
parent 2323e8d77d
commit 56f56e6352

View File

@ -46,9 +46,9 @@ show_error (gpointer data)
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
"This should have unbroken the grab");
g_signal_connect (G_OBJECT (dialog),
g_signal_connect_object (G_OBJECT (dialog),
"response",
G_CALLBACK (response_cb), NULL);
G_CALLBACK (response_cb), NULL, 0);
gtk_widget_show (dialog);
return G_SOURCE_REMOVE;