summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorAndreas Rönnquist <gusnan@gusnan.se>2013-03-31 17:48:47 +0200
committerAndreas Rönnquist <gusnan@gusnan.se>2013-03-31 17:48:47 +0200
commit8fb4bfb28893ddb8f7337431303293335bc9c61d (patch)
treede67cd2b3c697a3f6cada02526775084ee882994 /src/fe-gtk
parentf317076cb23745d3b03d09bde817fb66bdf81a26 (diff)
Fix error: format not a string literal and no format arguments [-Werror=format-security]
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 7ed55cbd..b91ad2bb 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -149,7 +149,7 @@ create_msg_dialog (gchar *title, gchar *message)
 {
 	GtkWidget *dialog;
 
-	dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message);
+	dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message);
 	gtk_window_set_title (GTK_WINDOW (dialog), title);
 
 /* On Win32 we automatically have the icon. If we try to load it explicitly, it will look ugly for some reason. */