[grilo-plugins] tracker: setup mapping between tracker and grilo keys in plugin init
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: setup mapping between tracker and grilo keys in plugin init
- Date: Thu, 17 Mar 2011 20:37:28 +0000 (UTC)
commit 97b04b75fe4dfb6443c2b7c87b8b4bfb92ffefdc
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Mon Mar 14 12:11:14 2011 +0000
tracker: setup mapping between tracker and grilo keys in plugin init
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
src/media/tracker/grl-tracker-media.c | 2 --
src/media/tracker/grl-tracker.c | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/media/tracker/grl-tracker-media.c b/src/media/tracker/grl-tracker-media.c
index 4f297f0..430fd27 100644
--- a/src/media/tracker/grl-tracker-media.c
+++ b/src/media/tracker/grl-tracker-media.c
@@ -128,8 +128,6 @@ grl_tracker_media_class_init (GrlTrackerMediaClass * klass)
| G_PARAM_STATIC_NAME));
g_type_class_add_private (klass, sizeof (GrlTrackerMediaPriv));
-
- grl_tracker_setup_key_mappings ();
}
static void
diff --git a/src/media/tracker/grl-tracker.c b/src/media/tracker/grl-tracker.c
index bcd02ea..05d4479 100644
--- a/src/media/tracker/grl-tracker.c
+++ b/src/media/tracker/grl-tracker.c
@@ -36,6 +36,7 @@
#include "grl-tracker-media-api.h"
#include "grl-tracker-media-notif.h"
#include "grl-tracker-metadata.h"
+#include "grl-tracker-utils.h"
/* --------- Logging -------- */
@@ -167,6 +168,8 @@ grl_tracker_plugin_init (GrlPluginRegistry *registry,
grl_tracker_media_init_requests ();
grl_tracker_metadata_init_requests ();
+ grl_tracker_setup_key_mappings ();
+
grl_tracker_plugin = plugin;
if (!configs) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]