[totem] Update to libpeas 1.1 deprecations



commit b1f66e88249bdd5d95ce45bdf4678191982b2041
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Jul 9 14:28:58 2011 +0200

    Update to libpeas 1.1 deprecations

 configure.in                       |    2 +-
 src/plugins/totem-plugins-engine.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 3b4ea4d..a74759b 100644
--- a/configure.in
+++ b/configure.in
@@ -48,7 +48,7 @@ TOTEM_PLPARSER_REQS=2.32.4
 GNOMEICON_REQS=2.15.90
 DBUS_REQS=0.82
 VALA_REQS=0.11.1
-PEAS_REQS=0.7.2
+PEAS_REQS=1.1.0
 PYTHON_REQS=2.3
 PYGOBJECT_REQS=2.27.0
 
diff --git a/src/plugins/totem-plugins-engine.c b/src/plugins/totem-plugins-engine.c
index f53c0c3..2f101e6 100644
--- a/src/plugins/totem-plugins-engine.c
+++ b/src/plugins/totem-plugins-engine.c
@@ -81,7 +81,7 @@ on_activatable_extension_added (PeasExtensionSet *set,
 				PeasExtension    *exten,
 				TotemPluginsEngine *engine)
 {
-	peas_extension_call (exten, "activate");
+	peas_activatable_activate (PEAS_ACTIVATABLE (exten));
 }
 
 static void
@@ -90,7 +90,7 @@ on_activatable_extension_removed (PeasExtensionSet *set,
 				  PeasExtension    *exten,
 				  TotemPluginsEngine *engine)
 {
-	peas_extension_call (exten, "deactivate");
+	peas_activatable_deactivate (PEAS_ACTIVATABLE (exten));
 }
 
 TotemPluginsEngine *



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