[rhythmbox] rb-application: Ensure paramater nullability is known to bindings



commit 50fb6fff84468a1d9b6cd2c09ce8ebc1db63bb04
Author: Ikey Doherty <michael i doherty intel com>
Date:   Mon Aug 22 22:41:54 2016 -0700

    rb-application: Ensure paramater nullability is known to bindings
    
    Currently the bindings are led to believe this parameter is not allowed to
    recieve null values, which will break Pythonic extensions using the
    rb_application_add_accelerator function via GObject Introspection
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770262
    
    Signed-off-by: Ikey Doherty <michael i doherty intel com>

 shell/rb-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/rb-application.c b/shell/rb-application.c
index fe4b3d2..377f06d 100644
--- a/shell/rb-application.c
+++ b/shell/rb-application.c
@@ -914,7 +914,7 @@ rb_application_set_menu_accelerators (RBApplication *app, GMenuModel *menu, gboo
  * @app: the #RBApplication
  * @accel: accelerator string
  * @action: the name of the action to activate
- * @parameter: parameter to pass when activating the action, or NULL if
+ * @parameter: (nullable): parameter to pass when activating the action, or NULL if
  *   the action does not accept an activation parameter.
  *
  * Like #gtk_application_add_accelerator, except the accelerator only applies


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