commit fc84dd7b510b26b0e88ede79966cdec6d3e47aa8
parent c393bb4efb7b54fc037b02c859b5c616d73b1287
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 13 Jan 2010 13:52:34 +0000
Gnome thinks unloading plugins is an unnecessary feature, so we only run Gnome code out-of-process from now on
Diffstat:
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/plugins/ole2_extractor.c b/src/plugins/ole2_extractor.c
@@ -475,6 +475,21 @@ history_extract(GsfInput * stream,
}
+
+const char *
+EXTRACTOR_ole2_options ()
+{
+ /*
+ Since the Gnome developers think that being unable to
+ unload plugins is an 'acceptable' limitation, we
+ require out-of-process execution for plugins depending
+ on libgsf and other glib-based plugins.
+ See also https://bugzilla.gnome.org/show_bug.cgi?id=374940
+ */
+ return "oop-only";
+}
+
+
int
EXTRACTOR_ole2_extract (const char *data,
size_t size,
diff --git a/src/plugins/thumbnailgtk_extractor.c b/src/plugins/thumbnailgtk_extractor.c
@@ -41,6 +41,20 @@ void __attribute__ ((constructor)) ole_gobject_init ()
}
+const char *
+EXTRACTOR_thumbnailgtk_options ()
+{
+ /*
+ Since the Gnome developers think that being unable to
+ unload plugins is an 'acceptable' limitation, we
+ require out-of-process execution for plugins depending
+ on libgsf and other glib-based plugins.
+ See also https://bugzilla.gnome.org/show_bug.cgi?id=374940
+ */
+ return "oop-only";
+}
+
+
int
EXTRACTOR_thumbnailgtk_extract (const char *data,
size_t size,