aboutsummaryrefslogtreecommitdiffstats
path: root/community/dia/dia-unregister-import.patch
blob: 15feba0cac5439047679f5b442da8327a5149cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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