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 4d42838b0968a00acf293bf88a073be9185a02bb..2cdb485fccda4ebf15927fe750688dcfb983c64a 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);