Files
Otavio Salvador 9f21b18da3 epdfview: Sync with Debian 0.1.8-3 patches
This includes the patches in use in Debian package to fix color
inversion and other minor issues.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-24 08:28:55 +02:00

20 lines
737 B
Diff

Imported from Debian 0.1.8-3
Upstream-Status: Pending
diff --git a/src/gtk/MainView.cxx b/src/gtk/MainView.cxx
index b983bff..f87de28 100644
--- a/src/gtk/MainView.cxx
+++ b/src/gtk/MainView.cxx
@@ -634,8 +634,9 @@ MainView::showErrorMessage (const gchar *title, const gchar *body)
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
+ "%s",
title);
- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG(errorDialog),
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG(errorDialog), "%s",
body);
gtk_dialog_run (GTK_DIALOG (errorDialog));
gtk_widget_destroy (errorDialog);