summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-09 20:47:39 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-09 20:47:39 +0000
commitfa48a582fab3245547c72f2ed6380e6f21f3c1b1 (patch)
tree1316e267ed798df7a21f2514d6ed5d7617ba1775 /src/trg-main-window.c
parentc277216befdc3438e717ea55539f49f7ffae107c (diff)
fix format not a string literal warning
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 7e8483d..207050c 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -441,7 +441,7 @@ static void connect_cb(GtkWidget * w G_GNUC_UNUSED, gpointer data)
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- msg);
+ "%s", msg);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);