]> git.0d.be Git - empathy.git/commitdiff
Add a message format for gtk_message_dialog_new
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:35:46 +0000 (17:35 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:35:46 +0000 (17:35 +0000)
svn path=/trunk/; revision=2359

tests/empetit.c

index 2d71c5359753e483fa0d13a8354f281f6c117a9c..2c69d101dc1ac4d4165caafcffc31559a6a9e1d9 100644 (file)
@@ -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));