projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e264b
)
let binding functions return a floating GVariant
author
Ryan Lortie
<desrt@desrt.ca>
Sat, 17 Apr 2010 05:27:00 +0000
(
01:27
-0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Sat, 17 Apr 2010 05:27:00 +0000
(
01:27
-0400)
gio/gsettings.c
patch
|
blob
|
history
diff --git
a/gio/gsettings.c
b/gio/gsettings.c
index
4d42838
..
2cdb485
100644
(file)
--- a/
gio/gsettings.c
+++ b/
gio/gsettings.c
@@
-1218,7
+1218,7
@@
g_settings_binding_property_changed (GObject *object,
{
g_settings_set_value (binding->settings,
binding->key,
-
variant
);
+
g_variant_ref_sink (variant)
);
g_variant_unref (variant);
}
g_value_unset (&value);