From 5105f4e289edeb4d0528dff54dbd8e33f98b6cad Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sat, 11 Jan 2014 12:08:00 +0100 Subject: gtkmmification (seems there is more margin in desktop-widget.cpp) (bzr r12915) --- src/file.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index babc4df99..35039fed3 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -360,11 +360,8 @@ void sp_file_revert_dialog() bool do_revert = true; if (doc->isModifiedSinceSave()) { - gchar *text = g_strdup_printf(_("Changes will be lost! Are you sure you want to reload document %s?"), uri); - - bool response = desktop->warnDialog (text); - g_free(text); - + Glib::ustring tmpString = Glib::ustring::compose(_("Changes will be lost! Are you sure you want to reload document %1?"), uri); + bool response = desktop->warnDialog (tmpString); if (!response) { do_revert = false; } -- cgit v1.2.3