diff options
author | Steve Frécinaux <code@istique.net> | 2011-02-14 00:41:22 +0100 |
---|---|---|
committer | Steve Frécinaux <code@istique.net> | 2011-02-14 00:41:22 +0100 |
commit | 6da33d0d064e7dd6b5144d01ea1d73a8cde5b02d (patch) | |
tree | 4ab18520fd5228ad082ab86a0a45cdda80fa229f | |
parent | 9a5b8113a7d524f78c0d90b50a5aea700e0c04f4 (diff) | |
download | totem-6da33d0d064e7dd6b5144d01ea1d73a8cde5b02d.tar.gz |
Update totem against latest libpeas API changes.
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/plugins/totem-plugins-engine.c | 2 | ||||
-rw-r--r-- | src/totem-menu.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 641f18ffe..ec129c737 100644 --- a/configure.in +++ b/configure.in @@ -48,7 +48,7 @@ TOTEM_PLPARSER_REQS=2.32.2 GNOMEICON_REQS=2.15.90 DBUS_REQS=0.82 VALA_REQS=0.11.1 -PEAS_REQS=0.7.1 +PEAS_REQS=0.7.2 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 cdff0bf0c..4518fe271 100644 --- a/src/plugins/totem-plugins-engine.c +++ b/src/plugins/totem-plugins-engine.c @@ -120,6 +120,8 @@ totem_plugins_engine_get_default (TotemObject *totem) } g_strfreev (paths); + peas_engine_enable_loader (PEAS_ENGINE (engine), "python"); + g_object_add_weak_pointer (G_OBJECT (engine), (gpointer) &engine); diff --git a/src/totem-menu.c b/src/totem-menu.c index 6e76184ca..1a2e54ecc 100644 --- a/src/totem-menu.c +++ b/src/totem-menu.c @@ -1234,7 +1234,7 @@ plugins_action_callback (GtkAction *action, Totem *totem) G_CALLBACK (totem_plugins_response_cb), NULL, 0); - manager = peas_gtk_plugin_manager_new (); + manager = peas_gtk_plugin_manager_new (NULL); gtk_widget_show_all (GTK_WIDGET (manager)); gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (totem->plugins))), manager, TRUE, TRUE, 0); |