From 8fb4bfb28893ddb8f7337431303293335bc9c61d Mon Sep 17 00:00:00 2001 From: Andreas Rönnquist Date: Sun, 31 Mar 2013 17:48:47 +0200 Subject: Fix error: format not a string literal and no format arguments [-Werror=format-security] --- src/fe-gtk/fe-gtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-gtk') 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. */ -- cgit 1.4.1