Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-module.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2008-06-10 18:10:50 (GMT)
committer Cosimo Cecchi <cosimoc@src.gnome.org>2008-06-10 18:10:50 (GMT)
commit0d0c2500e6383c5e7821d6fb10ea1fb0307a36b6 (patch)
treed303ae2cae8227e03157c896e439e3e7f174754a /libdocument/ev-module.c
parent6f8414f7c5a69058b1e697ea2932889a7ad16367 (diff)
Fix some build warnings under GCC 4.3.0. (#537535).
2008-06-10 Cosimo Cecchi <cosimoc@gnome.org> * libdocument/ev-backends-manager.c: (ev_backends_manager_load): * libdocument/ev-image.c: (ev_image_save_tmp): * libdocument/ev-module.c: (ev_module_load): * shell/ev-application.c: (ev_application_shutdown), (ev_application_get_print_settings): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_button_press), (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (window_save_file_copy_ready_cb), (ev_window_print_finished), (ev_window_print_send), (ev_window_print_job_cb), (ev_window_cmd_help_contents), (ev_window_preview_print_finished), (ev_window_do_preview_print), (ev_window_cmd_preview_print): * shell/main.c: (load_files_remote): Fix some build warnings under GCC 4.3.0. (#537535). svn path=/trunk/; revision=3049
Diffstat (limited to 'libdocument/ev-module.c')
-rw-r--r--libdocument/ev-module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdocument/ev-module.c b/libdocument/ev-module.c
index f9860a2..65627ab 100644
--- a/libdocument/ev-module.c
+++ b/libdocument/ev-module.c
@@ -76,7 +76,7 @@ ev_module_load (GTypeModule *gmodule)
module->library = g_module_open (module->path, 0);
if (!module->library) {
- g_warning (g_module_error ());
+ g_warning ("%s", g_module_error ());
return FALSE;
}
@@ -84,7 +84,7 @@ ev_module_load (GTypeModule *gmodule)
/* extract symbols from the lib */
if (!g_module_symbol (module->library, "register_evince_backend",
(void *) &register_func)) {
- g_warning (g_module_error ());
+ g_warning ("%s", g_module_error ());
g_module_close (module->library);
return FALSE;