summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-11-13 22:46:47 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:14 +0100
commit3b35f259f7760c7e7caf421344911243166d8699 (patch)
treeaa77cd1b4bfa343c6ea5a18e43f16d57c0dd5ef7 /client
parent3f23cf91d1bf954dddcfe2617283f07225f10a87 (diff)
downloadfribid-3b35f259f7760c7e7caf421344911243166d8699.tar.gz
fribid-3b35f259f7760c7e7caf421344911243166d8699.tar.bz2
fribid-3b35f259f7760c7e7caf421344911243166d8699.zip
Corrected the usage of gtk_message_dialog_new
Diffstat (limited to 'client')
-rw-r--r--client/gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gtk.c b/client/gtk.c
index 9a1c739..a5b421e 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -93,7 +93,7 @@ static char *currentSubjectFilter;
static void showMessage(GtkMessageType type, const char *text) {
GtkWidget *dialog = gtk_message_dialog_new(
GTK_WINDOW(signDialog), GTK_DIALOG_DESTROY_WITH_PARENT,
- type, GTK_BUTTONS_CLOSE, text);
+ type, GTK_BUTTONS_CLOSE, "%s", text);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}