[gnome-shell/wip/gtk-notification: 2/22] shell-global: Fix an invalid memory botch-up



commit d21ae1dad15ef3d99484a0603275c6075a3f4c9f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Oct 13 20:58:01 2013 -0400

    shell-global: Fix an invalid memory botch-up
    
    The value we return is a floating ref, which gjs shouldn't
    try to free.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710104

 src/shell-global.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index 92da970..95787a5 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -1792,7 +1792,7 @@ shell_global_set_runtime_state (ShellGlobal  *global,
  * The shell maintains "runtime" state which does not persist across
  * logout or reboot.
  *
- * Returns: The value of a serialized property, or %NULL if none stored
+ * Returns: (transfer floating): The value of a serialized property, or %NULL if none stored
  */
 GVariant *
 shell_global_get_runtime_state (ShellGlobal  *global,


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