[tracker/direct-access] Fix, squash



commit a3e9709de7080a53683b564af7d3a03201bb1844
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Jul 23 15:47:51 2010 +0200

    Fix, squash

 src/libtracker-bus/tracker-bus-array-update.c |    2 +-
 src/libtracker-bus/tracker-bus-fd-update.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-array-update.c b/src/libtracker-bus/tracker-bus-array-update.c
index 99ea920..d9701a7 100644
--- a/src/libtracker-bus/tracker-bus-array-update.c
+++ b/src/libtracker-bus/tracker-bus-array-update.c
@@ -269,7 +269,7 @@ tracker_bus_array_sparql_update_blank_finish (GAsyncResult     *res,
 		return NULL;
 	}
 
-	return g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
+	return g_variant_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
 #else /* HAVE_DBUS_FD_PASSING */
 	g_assert_not_reached ();
 	return NULL;
diff --git a/src/libtracker-bus/tracker-bus-fd-update.c b/src/libtracker-bus/tracker-bus-fd-update.c
index 12c0185..ab1b772 100644
--- a/src/libtracker-bus/tracker-bus-fd-update.c
+++ b/src/libtracker-bus/tracker-bus-fd-update.c
@@ -401,7 +401,7 @@ tracker_bus_fd_sparql_update_blank_finish (GAsyncResult     *res,
 		return NULL;
 	}
 
-	return g_object_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
+	return g_variant_ref (g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (res)));
 #else /* HAVE_DBUS_FD_PASSING */
 	g_assert_not_reached ();
 	return NULL;



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