From 4fe52955d1583e6895bf85cf62b08102d0923962 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 13 Aug 2008 22:22:49 +0000 Subject: Demonstrate loading the test module. svn path=/branches/kill-bonobo/; revision=35983 --- shell/e-shell-registry.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shell/e-shell-registry.c') diff --git a/shell/e-shell-registry.c b/shell/e-shell-registry.c index 5c841398c3..91f489111a 100644 --- a/shell/e-shell-registry.c +++ b/shell/e-shell-registry.c @@ -58,8 +58,6 @@ shell_registry_query_module (const gchar *filename) return; } - g_type_module_unuse (G_TYPE_MODULE (shell_module)); - loaded_modules = g_list_insert_sorted ( loaded_modules, shell_module, (GCompareFunc) e_shell_module_compare); @@ -121,7 +119,7 @@ e_shell_registry_init (void) GList * e_shell_registry_list_modules (void) { - return g_list_copy (loaded_modules); + return loaded_modules; } GType * -- cgit v1.2.3