From 70aeb1c64216d75ba63f1cbae1c824b69305bd73 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 17 Nov 2009 20:43:39 +0100 Subject: [PATCH] Pass the interned string value to the binding callback http://bugzilla.openedhand.com/show_bug.cgi?id=1891 Signed-off-by: Emmanuele Bassi --- clutter/clutter-binding-pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-binding-pool.c b/clutter/clutter-binding-pool.c index a3b79b6de..df4b60be2 100644 --- a/clutter/clutter-binding-pool.c +++ b/clutter/clutter-binding-pool.c @@ -787,7 +787,7 @@ clutter_binding_entry_invoke (ClutterBindingEntry *entry, g_value_set_object (¶ms[0], gobject); g_value_init (¶ms[1], G_TYPE_STRING); - g_value_set_string (¶ms[1], entry->name); + g_value_set_static_string (¶ms[1], entry->name); g_value_init (¶ms[2], G_TYPE_UINT); g_value_set_uint (¶ms[2], entry->key_val);