[Telepathy-commits] [telepathy-glib/master] param_default_value: use g_value_take_boxed
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Mar 26 08:36:27 PDT 2009
---
telepathy-glib/base-connection-manager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/telepathy-glib/base-connection-manager.c b/telepathy-glib/base-connection-manager.c
index 25dd64b..42eb412 100644
--- a/telepathy-glib/base-connection-manager.c
+++ b/telepathy-glib/base-connection-manager.c
@@ -418,8 +418,7 @@ param_default_value (const TpCMParamSpec *param)
if (param->def == NULL)
{
GArray *array = g_array_new (FALSE, FALSE, sizeof (guint8));
- g_value_set_boxed (value, array);
- g_array_free (array, TRUE);
+ g_value_take_boxed (value, array);
}
else
{
--
1.5.6.5
More information about the telepathy-commits
mailing list