[gnome-photos/gnome-3-22] application: Fix the signal definition of miners-changed



commit d541172f1640bba6e94a1e99523a108f7468a59f
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Dec 7 11:47:01 2016 +0100

    application: Fix the signal definition of miners-changed
    
    With GLib 2.50.0, it was leading to:
      GLib-GObject-CRITICAL **: g_cclosure_marshal_VOID__POINTER:
        assertion 'n_param_values == 2' failed

 src/photos-application.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 356c912..df643a3 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -2002,7 +2002,8 @@ photos_application_class_init (PhotosApplicationClass *class)
                                           NULL, /* accu_data */
                                           g_cclosure_marshal_VOID__POINTER,
                                           G_TYPE_NONE,
-                                          0);
+                                          1,
+                                          G_TYPE_POINTER);
 }
 
 


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