[gnome-bluetooth] lib: Fix use of wrong unref() call



commit ee3dd9a60192aaf5a694f1b83fade4df8c00fba0
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jun 16 23:28:05 2012 +0200

    lib: Fix use of wrong unref() call

 lib/bluetooth-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 5c40a7c..21bcd38 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -977,7 +977,7 @@ bluez_appeared_cb (GDBusConnection *connection,
 			g_free (array);
 		}
 
-		g_object_unref (variant);
+		g_variant_unref (variant);
 	}
 
 	manager_call_default_adapter_sync (priv->manager, &default_path, NULL, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]