[nautilus-actions: 23/30] No more unref NAModule



commit d27f10c53a7111333c9076d831e72490a0a557ca
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sat Nov 21 00:25:51 2009 +0100

    No more unref NAModule
    
    Get ride of 'unsolicitated invocation of g_object_dispose() on GTypeModule'
    error message.

 ChangeLog                            |    6 ++++++
 nautilus-actions/runtime/na-module.c |    4 +++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4c34d6d..78041fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-11-20 Pierre Wieser <pwieser trychlos org>
 
+	Get ride of "unsolicitated invocation of g_object_dispose() on
+	GTypeModule" error message.
+
+	* nautilus-actions/runtime/na-module.c (na_module_release_modules):
+	No more unref the module.
+
 	Review log handlers.
 
 	* nautilus-actions/io-provider-gconf/nagp-module.c
diff --git a/nautilus-actions/runtime/na-module.c b/nautilus-actions/runtime/na-module.c
index fa18621..c7241f9 100644
--- a/nautilus-actions/runtime/na-module.c
+++ b/nautilus-actions/runtime/na-module.c
@@ -486,7 +486,9 @@ na_module_release_modules( GList *modules )
 	GList *im;
 
 	for( im = modules ; im ; im = im->next ){
-		g_object_unref( NA_MODULE( im->data ));
+		/* GLib-GObject-WARNING **: gtypemodule.c:112:
+		 * unsolicitated invocation of g_object_dispose() on GTypeModule */
+		/*g_object_unref( NA_MODULE( im->data ));*/
 	}
 
 	g_list_free( modules );



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