[tracker/gdbus-porting: 20/33] libtracker-miner: Impl. 'Associated' property of tracker-miner-web.c
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting: 20/33] libtracker-miner: Impl. 'Associated' property of tracker-miner-web.c
- Date: Fri, 31 Dec 2010 09:46:04 +0000 (UTC)
commit 86eadc98ef7ebf2ada80324776d41f316eb2679c
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Dec 30 17:14:21 2010 +0100
libtracker-miner: Impl. 'Associated' property of tracker-miner-web.c
src/libtracker-miner/tracker-miner-web.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-web.c b/src/libtracker-miner/tracker-miner-web.c
index b655513..6ffcdea 100644
--- a/src/libtracker-miner/tracker-miner-web.c
+++ b/src/libtracker-miner/tracker-miner-web.c
@@ -389,8 +389,19 @@ handle_get_property (GDBusConnection *connection,
GError **error,
gpointer user_data)
{
- g_assert_not_reached ();
- return NULL;
+ GVariant *ret = NULL;
+ TrackerMinerWeb *miner = user_data;
+ TrackerMinerWebPrivate *priv;
+
+ priv = TRACKER_MINER_WEB_GET_PRIVATE (miner);
+
+ if (g_strcmp0 (property_name, "Associated") == 0) {
+ ret = g_variant_new ("(b)", priv->associated);
+ } else {
+ g_assert_not_reached ();
+ }
+
+ return ret;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]