summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-30 17:35:46 +0000
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-30 17:35:46 +0000
commit0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5 (patch)
treec2cc2b601e01c34b3009880b3dc7f8bb1185f2a2 /tests
parentb6f38e563f122a85ac3e5ec230c746e8672dacb4 (diff)
Add a message format for gtk_message_dialog_new
svn path=/trunk/; revision=2359
Diffstat (limited to 'tests')
-rw-r--r--tests/empetit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/empetit.c b/tests/empetit.c
index 2d71c5359..2c69d101d 100644
--- a/tests/empetit.c
+++ b/tests/empetit.c
@@ -21,7 +21,7 @@ chat_cb (EmpathyDispatchOperation *dispatch,
if (error != NULL)
{
dialog = gtk_message_dialog_new (GTK_WINDOW (window), GTK_DIALOG_MODAL,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s",
error->message ? error->message : "No error message");
gtk_dialog_run (GTK_DIALOG (dialog));