diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-08-24 15:48:54 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-08-24 15:48:54 +0100 |
commit | fdc5b48b75be4abc6416da4863d07f3736aaa83f (patch) | |
tree | 0abaea124466d44918de39e3882057627a33f08a /src/search-channel.c | |
parent | f752b8e3a5afe34acf7ab8ff4fdf0a63ce20afee (diff) | |
download | telepathy-gabble-fdc5b48b75be4abc6416da4863d07f3736aaa83f.tar.gz |
gabble_search_channel_init: use g_boxed_free
Diffstat (limited to 'src/search-channel.c')
-rw-r--r-- | src/search-channel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/search-channel.c b/src/search-channel.c index 6d9c1cd34..645d95d62 100644 --- a/src/search-channel.c +++ b/src/search-channel.c @@ -1068,11 +1068,7 @@ gabble_search_channel_init (GabbleSearchChannel *self) static void free_info (GPtrArray *info) { - GValue v = { 0, }; - - g_value_init (&v, GABBLE_ARRAY_TYPE_CONTACT_INFO_FIELD_LIST); - g_value_take_boxed (&v, info); - g_value_unset (&v); + g_boxed_free (GABBLE_ARRAY_TYPE_CONTACT_INFO_FIELD_LIST, info); } static GObject * |