aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:46 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:46 +0800
commit0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5 (patch)
treec2cc2b601e01c34b3009880b3dc7f8bb1185f2a2 /tests
parentb6f38e563f122a85ac3e5ec230c746e8672dacb4 (diff)
downloadgsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.tar
gsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.tar.gz
gsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.tar.bz2
gsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.tar.lz
gsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.tar.xz
gsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.tar.zst
gsoc2013-empathy-0f3f5eb1cbf0848060b56b2e7d9059c6f6723df5.zip
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));