37 lines
967 B
Diff
37 lines
967 B
Diff
From a6e2409b85414b3d82dacd390ce9c9f007e254e8 Mon Sep 17 00:00:00 2001
|
|
From: Jiri Popelka <jpopelka@redhat.com>
|
|
Date: Wed, 5 Sep 2012 11:12:59 +0200
|
|
Subject: [PATCH] Unregister vdx, xfig import filters during plugin unloading.
|
|
|
|
---
|
|
plug-ins/vdx/vdx.c | 1 +
|
|
plug-ins/xfig/xfig.c | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/plug-ins/vdx/vdx.c b/plug-ins/vdx/vdx.c
|
|
index 64bc4b0..82ddc4b 100644
|
|
--- a/plug-ins/vdx/vdx.c
|
|
+++ b/plug-ins/vdx/vdx.c
|
|
@@ -43,6 +43,7 @@ static void
|
|
_plugin_unload (PluginInfo *info)
|
|
{
|
|
filter_unregister_export(&vdx_export_filter);
|
|
+ filter_unregister_import(&vdx_import_filter);
|
|
}
|
|
|
|
|
|
diff --git a/plug-ins/xfig/xfig.c b/plug-ins/xfig/xfig.c
|
|
index 966c294..10d68aa 100644
|
|
--- a/plug-ins/xfig/xfig.c
|
|
+++ b/plug-ins/xfig/xfig.c
|
|
@@ -41,6 +41,7 @@ static void
|
|
_plugin_unload (PluginInfo *info)
|
|
{
|
|
filter_unregister_export(&xfig_export_filter);
|
|
+ filter_unregister_import(&xfig_import_filter);
|
|
}
|
|
|
|
|
|
--
|
|
1.7.11.4
|
|
|