From 56f56e63521dea2a9b70adcfc628ac2e59ac32fa Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Mon, 11 May 2020 19:54:32 +0500 Subject: [PATCH] tests: Connect signal properly for testvolumebutton --- tests/testvolumebutton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testvolumebutton.c b/tests/testvolumebutton.c index bb38c8c306..22997d6d93 100644 --- a/tests/testvolumebutton.c +++ b/tests/testvolumebutton.c @@ -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), - "response", - G_CALLBACK (response_cb), NULL); + g_signal_connect_object (G_OBJECT (dialog), + "response", + G_CALLBACK (response_cb), NULL, 0); gtk_widget_show (dialog); return G_SOURCE_REMOVE;