Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-sidebar-attachments.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-sidebar-attachments.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-sidebar-attachments.c')
-rw-r--r--shell/ev-sidebar-attachments.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c
index 7fb7f00..2aeadd6 100644
--- a/shell/ev-sidebar-attachments.c
+++ b/shell/ev-sidebar-attachments.c
@@ -295,7 +295,7 @@ ev_sidebar_attachments_button_press (EvSidebarAttachments *ev_attachbar,
ev_attachment_open (attachment, &error);
if (error) {
- g_warning (error->message);
+ g_warning ("%s", error->message);
g_error_free (error);
}
@@ -434,7 +434,7 @@ ev_sidebar_attachments_drag_data_get (GtkWidget *widget,
}
if (error) {
- g_warning (error->message);
+ g_warning ("%s", error->message);
g_error_free (error);
}