From 2d8aad40e1916911b773f1cfdd93c961feabf807 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 30 Jan 2009 18:40:17 +0000 Subject: A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117. * evince-document.h: * libdocument/Makefile.am: A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117. * libdocument/ev-backends-manager.c: (_ev_backends_manager_init): * libdocument/ev-backends-manager.h: * libdocument/ev-debug.c: (_ev_debug_init), (_ev_debug_shutdown): * libdocument/ev-debug.h: * libdocument/ev-file-helpers.c: (_ev_file_helpers_init), (_ev_file_helpers_shutdown): * libdocument/ev-file-helpers.h: Make these init/shutdown methods private. * properties/ev-properties-main.c: (nautilus_module_initialize), (nautilus_module_shutdown): * shell/main.c: (main): * thumbnailer/evince-thumbnailer.c: (main): Use the new single init/shutdown method. svn path=/trunk/; revision=3391 --- (limited to 'properties') diff --git a/properties/ev-properties-main.c b/properties/ev-properties-main.c index a3c045b..27b80c3 100644 --- a/properties/ev-properties-main.c +++ b/properties/ev-properties-main.c @@ -137,13 +137,13 @@ nautilus_module_initialize (GTypeModule *module) bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - ev_backends_manager_init (); + ev_init (); } void nautilus_module_shutdown (void) { - ev_backends_manager_shutdown (); + ev_shutdown (); } void @@ -156,4 +156,3 @@ nautilus_module_list_types (const GType **types, *types = type_list; *num_types = G_N_ELEMENTS (type_list); } - -- cgit v0.9.1