summaryrefslogtreecommitdiff
path: root/gsearchtool/gsearchtool-callbacks.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-07-03 13:48:24 +0200
committerStefano Karapetsas <[email protected]>2014-07-03 13:48:24 +0200
commitc25180053a7ad55a7ec3ba649d3bf56e19e43198 (patch)
tree51801276b69d8ce36fb60e226580cab32b0f63d4 /gsearchtool/gsearchtool-callbacks.c
parent7c5d72d9521592042ead78d877eaa079018ac5c9 (diff)
downloadmate-utils-c25180053a7ad55a7ec3ba649d3bf56e19e43198.tar.bz2
mate-utils-c25180053a7ad55a7ec3ba649d3bf56e19e43198.tar.xz
gsearchtool: Fix format-security warning
Diffstat (limited to 'gsearchtool/gsearchtool-callbacks.c')
-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 7b2edc5f..273561d8 100644
--- a/gsearchtool/gsearchtool-callbacks.c
+++ b/gsearchtool/gsearchtool-callbacks.c
@@ -1714,9 +1714,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);