[rhythmbox/gobject-introspection] shell: Blacklist a few broken plugins
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/gobject-introspection] shell: Blacklist a few broken plugins
- Date: Wed, 12 Jan 2011 15:26:42 +0000 (UTC)
commit 1b2cede5851183effd8bfdc3fa13024c03898f5e
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 12 15:24:35 2011 +0000
shell: Blacklist a few broken plugins
Those plugins still import pygtk, which will crash pretty badly
in our GTK+ 3.x application.
shell/rb-plugins-engine.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/shell/rb-plugins-engine.c b/shell/rb-plugins-engine.c
index 6e40641..2fc751e 100644
--- a/shell/rb-plugins-engine.c
+++ b/shell/rb-plugins-engine.c
@@ -148,6 +148,13 @@ rb_plugins_engine_load (const gchar *file)
NULL);
if (str) {
info->location = str;
+
+ /* FIXME:
+ * Blacklist a few plugins that we know not to work,
+ * and cause crashes */
+ if (g_str_equal (str, "upnp_coherence") ||
+ g_str_equal (str, "context"))
+ goto error;
} else {
g_warning ("Could not find 'Module' in %s", file);
goto error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]