[gnome-screenshot/wip/exalm/cleanups] fixup! interactive-dialog: Replace callback with a signal



commit e7a9db336bade34f16ea3d583bace8a018db643a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Apr 3 09:43:53 2020 +0500

    fixup! interactive-dialog: Replace callback with a signal

 src/screenshot-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/screenshot-application.c b/src/screenshot-application.c
index d71904a..fd3811b 100644
--- a/src/screenshot-application.c
+++ b/src/screenshot-application.c
@@ -696,7 +696,7 @@ screenshot_show_interactive_dialog (ScreenshotApplication *self)
 
   dialog = screenshot_interactive_dialog_new (GTK_APPLICATION (self));
 
-  g_signal_connect (dialog, "capture", G_CALLBACK (capture_clicked_cb), self);
+  g_signal_connect_object (dialog, "capture", G_CALLBACK (capture_clicked_cb), self, 0);
 
   gtk_widget_show (GTK_WIDGET (dialog));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]