[libdazzle/libdazzle-3-28] shortcuts: fix transfer ownership for registering signal



commit 362657ea1ee478d35ed845fbcdfa38056a9da126
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 9 20:01:00 2018 -0700

    shortcuts: fix transfer ownership for registering signal

 src/shortcuts/dzl-shortcut-context.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-context.c b/src/shortcuts/dzl-shortcut-context.c
index 7f73513..ec48a16 100644
--- a/src/shortcuts/dzl-shortcut-context.c
+++ b/src/shortcuts/dzl-shortcut-context.c
@@ -369,13 +369,11 @@ dzl_shortcut_context_add_signal (DzlShortcutContext *self,
  * @self: a #DzlShortcutContext
  * @accel: the accelerator for the shortcut
  * @signal_name: the name of the signal
- * @values: (element-type GObject.Value) (nullable) (transfer container): The
+ * @values: (element-type GObject.Value) (nullable) (transfer none): The
  *   values to use when calling the signal.
  *
  * This is similar to dzl_shortcut_context_add_signal() but is easier to use
  * from language bindings.
- *
- * Note that this transfers ownership of the @values array.
  */
 void
 dzl_shortcut_context_add_signalv (DzlShortcutContext *self,


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