aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-13 13:52:34 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-13 13:52:34 +0000
commitfc84dd7b510b26b0e88ede79966cdec6d3e47aa8 (patch)
treec554a07d358eef3d95f04825ab18b728423bc410
parentc393bb4efb7b54fc037b02c859b5c616d73b1287 (diff)
downloadlibextractor-fc84dd7b510b26b0e88ede79966cdec6d3e47aa8.tar.gz
libextractor-fc84dd7b510b26b0e88ede79966cdec6d3e47aa8.zip
Gnome thinks unloading plugins is an unnecessary feature, so we only run Gnome code out-of-process from now on
-rw-r--r--src/plugins/ole2_extractor.c15
-rw-r--r--src/plugins/thumbnailgtk_extractor.c14
2 files changed, 29 insertions, 0 deletions
diff --git a/src/plugins/ole2_extractor.c b/src/plugins/ole2_extractor.c
index 5f6cd01..5cef88e 100644
--- a/src/plugins/ole2_extractor.c
+++ b/src/plugins/ole2_extractor.c
@@ -475,6 +475,21 @@ history_extract(GsfInput * stream,
475} 475}
476 476
477 477
478
479const char *
480EXTRACTOR_ole2_options ()
481{
482 /*
483 Since the Gnome developers think that being unable to
484 unload plugins is an 'acceptable' limitation, we
485 require out-of-process execution for plugins depending
486 on libgsf and other glib-based plugins.
487 See also https://bugzilla.gnome.org/show_bug.cgi?id=374940
488 */
489 return "oop-only";
490}
491
492
478int 493int
479EXTRACTOR_ole2_extract (const char *data, 494EXTRACTOR_ole2_extract (const char *data,
480 size_t size, 495 size_t size,
diff --git a/src/plugins/thumbnailgtk_extractor.c b/src/plugins/thumbnailgtk_extractor.c
index f5ea228..51e3ea4 100644
--- a/src/plugins/thumbnailgtk_extractor.c
+++ b/src/plugins/thumbnailgtk_extractor.c
@@ -41,6 +41,20 @@ void __attribute__ ((constructor)) ole_gobject_init ()
41} 41}
42 42
43 43
44const char *
45EXTRACTOR_thumbnailgtk_options ()
46{
47 /*
48 Since the Gnome developers think that being unable to
49 unload plugins is an 'acceptable' limitation, we
50 require out-of-process execution for plugins depending
51 on libgsf and other glib-based plugins.
52 See also https://bugzilla.gnome.org/show_bug.cgi?id=374940
53 */
54 return "oop-only";
55}
56
57
44int 58int
45EXTRACTOR_thumbnailgtk_extract (const char *data, 59EXTRACTOR_thumbnailgtk_extract (const char *data,
46 size_t size, 60 size_t size,