summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-07-03 13:48:24 +0200
committerinfirit <[email protected]>2014-09-25 14:54:01 +0200
commit8506086bf6e7602cc4a4e5431ada8fe02ad1cd2a (patch)
treecd770a16fe9fdcd48b6e58b7f357d714a905ab90
parentd1420609285cd0a6c933306e58efc0454ee8c378 (diff)
downloadmate-utils-8506086bf6e7602cc4a4e5431ada8fe02ad1cd2a.tar.bz2
mate-utils-8506086bf6e7602cc4a4e5431ada8fe02ad1cd2a.tar.xz
gsearchtool: Fix format-security warning
-rw-r--r--gsearchtool/gsearchtool-callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsearchtool/gsearchtool-callbacks.c b/gsearchtool/gsearchtool-callbacks.c
index 08d946be..f5efbfbc 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -1716,9 +1716,9 @@ display_dialog_could_not_save_exists (GtkWidget * window,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_CANCEL,
- primary);
+ "%s", primary);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- secondary);
+ "%s", secondary);
gtk_window_set_title (GTK_WINDOW (dialog), "");
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);