[shotwell] Build when "-Werror=format-security" used: Closes #719863



commit d9b73ef0197d0f7d6d15eb4e9c68340ef0eb71ce
Author: Thomas Moschny <thomas moschny gmx de>
Date:   Mon Dec 9 16:53:10 2013 -0800

    Build when "-Werror=format-security" used: Closes #719863

 src/Dialogs.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Dialogs.vala b/src/Dialogs.vala
index 0024519..84c58f8 100644
--- a/src/Dialogs.vala
+++ b/src/Dialogs.vala
@@ -31,7 +31,7 @@ public bool confirm_delete_saved_search(SavedSearch search) {
 
 public bool confirm_warn_developer_changed(int number) {
     Gtk.MessageDialog dialog = new Gtk.MessageDialog.with_markup(AppWindow.get_instance(),
-        Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.NONE,
+        Gtk.DialogFlags.MODAL, Gtk.MessageType.WARNING, Gtk.ButtonsType.NONE, "%s",
         "<span weight=\"bold\" size=\"larger\">%s</span>".printf(ngettext("Switching developers will undo 
all changes you have made to this photo in Shotwell",
         "Switching developers will undo all changes you have made to these photos in Shotwell", number)));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]