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



commit fbad0ca27ac13da735b6357698f97e06e585d05a
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 6b7f3a3..98ef2ea 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -1994,7 +1994,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]