[tracker/gdbus: 81/92] libtracker-miner: Bugfix when status is unset in tracker-miner-object.c
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus: 81/92] libtracker-miner: Bugfix when status is unset in tracker-miner-object.c
- Date: Mon, 17 Jan 2011 09:38:28 +0000 (UTC)
commit 61e74dd7cc22804dea0c88deb51670ae3dfff462
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Jan 12 15:53:12 2011 +0100
libtracker-miner: Bugfix when status is unset in tracker-miner-object.c
src/libtracker-miner/tracker-miner-object.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 14d0c05..c6851d1 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -864,7 +864,7 @@ handle_method_call_get_status (TrackerMiner *miner,
tracker_dbus_request_end (request, NULL);
g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("(s)", miner->private->status));
+ miner->private->status ? g_variant_new ("(s)", miner->private->status) : NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]