[gnome-scan/gnome-scan-0-6: 9/23] backport fix for crash on module unload from trunk



commit dacccd958857a55f399028da6ace8cce344429fd
Author: Philipp Sadleder <phsadleder src gnome org>
Date:   Thu Jan 8 14:00:28 2009 +0000

    backport fix for crash on module unload from trunk
    
    * backport fix for crash on module unload from trunk
    
    svn path=/branches/GNOME_SCAN_0_6/; revision=762
---
 ChangeLog               |    9 +++++++++
 lib/gnome-scan-module.c |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9a7a0a1..221e6fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-01-09  Philipp Sadleder <philipp sadleder de>
+
+	* Backport fix for crash on module unload from gnome-scan trunk. 
+
+	2008-08-09  Ã?tienne Bersac  <bersace03 gmail com>
+
+		* lib/gnome-scan-module.c (gnome_scan_module_unload): Fix a
+		crashed on module unload. Thanks to Philip Sadleder
+
 2008-12-06  Ã?tienne BERSAC  <bersace03 laposte net>
 
 	* NEWS:
diff --git a/lib/gnome-scan-module.c b/lib/gnome-scan-module.c
index c4e7111..74052ba 100644
--- a/lib/gnome-scan-module.c
+++ b/lib/gnome-scan-module.c
@@ -150,7 +150,7 @@ gnome_scan_module_load (GTypeModule *gmodule)
 static void
 gnome_scan_module_unload (GTypeModule *gmodule)
 {
-	GnomeScanModule *module = GNOME_SCAN_MODULE (module);
+	GnomeScanModule *module = GNOME_SCAN_MODULE (gmodule);
 	module->finalize (module);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]