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
This commit is contained in:
Jasper St. Pierre 2013-10-13 20:58:01 -04:00
parent 4548859509
commit d21ae1dad1

View File

@ -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,