Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.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 /shell/ev-application.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 'shell/ev-application.c')
-rw-r--r--shell/ev-application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index d4a1d1f..6e7a6e6 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -645,7 +645,7 @@ ev_application_shutdown (EvApplication *application)
application->print_settings_file,
&error);
if (error) {
- g_warning (error->message);
+ g_warning ("%s", error->message);
g_error_free (error);
}
@@ -803,7 +803,7 @@ ev_application_get_print_settings (EvApplication *application)
gtk_print_settings_new_from_file (application->print_settings_file, &error);
if (error) {
- g_warning (error->message);
+ g_warning ("%s", error->message);
g_error_free (error);
} else {
return application->print_settings;