[tracker/gdbus-porting: 12/33] libtracker-miner: Fixes for GDBus port of tracker-miner-object.c
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting: 12/33] libtracker-miner: Fixes for GDBus port of tracker-miner-object.c
- Date: Fri, 31 Dec 2010 09:45:24 +0000 (UTC)
commit 84a89d5d72a440ae58fd95ac22b9a94109ba2534
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Dec 30 12:20:37 2010 +0100
libtracker-miner: Fixes for GDBus port of tracker-miner-object.c
src/libtracker-miner/tracker-miner-object.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 8c603cc..525b925 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -666,7 +666,7 @@ handle_method_call_ignore_next_update (TrackerMiner *miner,
request_id = tracker_dbus_get_next_request_id ();
- g_variant_get (parameters, "as", &urls);
+ g_variant_get (parameters, "(^a&s)", &urls);
tracker_gdbus_request_new (request_id,
invocation,
@@ -689,7 +689,7 @@ handle_method_call_resume (TrackerMiner *miner,
request_id = tracker_dbus_get_next_request_id ();
- g_variant_get (parameters, "i", &cookie);
+ g_variant_get (parameters, "(i)", &cookie);
tracker_gdbus_request_new (request_id,
invocation,
@@ -728,7 +728,7 @@ handle_method_call_pause (TrackerMiner *miner,
request_id = tracker_dbus_get_next_request_id ();
- g_variant_get (parameters, "ss", &application, &reason);
+ g_variant_get (parameters, "(ss)", &application, &reason);
tracker_gdbus_async_return_if_fail (application != NULL, invocation);
tracker_gdbus_async_return_if_fail (reason != NULL, invocation);
@@ -758,7 +758,7 @@ handle_method_call_pause (TrackerMiner *miner,
tracker_gdbus_request_success (request_id, invocation);
g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("i", cookie));
+ g_variant_new ("(i)", cookie));
}
static void
@@ -792,7 +792,7 @@ handle_method_call_get_pause_details (TrackerMiner *miner,
tracker_gdbus_request_success (request_id, invocation);
g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("asas",
+ g_variant_new ("(^as^as)",
applications_strv,
reasons_strv));
@@ -815,7 +815,7 @@ handle_method_call_get_progress (TrackerMiner *miner,
tracker_gdbus_request_success (request_id, invocation);
g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("i", miner->private->progress));
+ g_variant_new ("(i)", miner->private->progress));
}
static void
@@ -831,7 +831,7 @@ handle_method_call_get_status (TrackerMiner *miner,
tracker_gdbus_request_success (request_id, invocation);
g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("s", miner->private->status));
+ g_variant_new ("(s)", miner->private->status));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]