[totem] Fix the port of the Galago and Tracker plugins to libpeas 0.5.4



commit 0b60a176f820f8c698d36a15a48ede15e67097d8
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Sep 4 16:58:52 2010 +0100

    Fix the port of the Galago and Tracker plugins to libpeas 0.5.4

 src/plugins/galago/totem-galago.c   |    4 ++++
 src/plugins/tracker/totem-tracker.c |    6 ++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/galago/totem-galago.c b/src/plugins/galago/totem-galago.c
index b7ffd90..6c877bc 100644
--- a/src/plugins/galago/totem-galago.c
+++ b/src/plugins/galago/totem-galago.c
@@ -72,8 +72,12 @@ totem_galago_plugin_class_init (TotemGalagoPluginClass *klass)
 {
 	GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+	object_class->set_property = set_property;
+	object_class->get_property = get_property;
 	object_class->dispose = totem_galago_plugin_dispose;
 	object_class->finalize = totem_galago_plugin_finalize;
+
+	g_object_class_override_property (object_class, PROP_OBJECT, "object");
 }
 
 static void
diff --git a/src/plugins/tracker/totem-tracker.c b/src/plugins/tracker/totem-tracker.c
index bf74ffd..8c9b1a7 100644
--- a/src/plugins/tracker/totem-tracker.c
+++ b/src/plugins/tracker/totem-tracker.c
@@ -64,6 +64,12 @@ TOTEM_PLUGIN_REGISTER (TOTEM_TYPE_TRACKER_PLUGIN, TotemTrackerPlugin, totem_trac
 static void
 totem_tracker_plugin_class_init (TotemTrackerPluginClass *klass)
 {
+	GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+	object_class->set_property = set_property;
+	object_class->get_property = get_property;
+
+	g_object_class_override_property (object_class, PROP_OBJECT, "object");
 }
 
 static void



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