[grilo-plugins] dmap: Get rid of g_clear_pointer() function
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] dmap: Get rid of g_clear_pointer() function
- Date: Sun, 9 Feb 2014 22:06:37 +0000 (UTC)
commit 35f4f208f3893b7239a255765e00a959051805a1
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Sun Feb 9 21:52:59 2014 +0000
dmap: Get rid of g_clear_pointer() function
Not available at glib 2.32.
src/dmap/grl-dmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/dmap/grl-dmap.c b/src/dmap/grl-dmap.c
index 23771b2..0cb17c5 100644
--- a/src/dmap/grl-dmap.c
+++ b/src/dmap/grl-dmap.c
@@ -149,9 +149,9 @@ grl_dmap_plugin_init (GrlRegistry *registry,
error->message);
g_error_free (error);
- g_clear_pointer (&connections, g_hash_table_unref);
- g_clear_pointer (&sources, g_hash_table_unref);
- g_clear_object (&browser);
+ g_hash_table_unref (connections);
+ g_hash_table_unref (sources);
+ g_object_unref (browser);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]