[empathy] Fix build warning: A string format is required



commit 17466e4859d78642ba7f8319a4875cc29c4ca0ba
Author: Xavier Claessens <xavier claessens collabora co uk>
Date:   Mon Jul 16 14:18:47 2012 +0200

    Fix build warning: A string format is required

 libempathy-gtk/empathy-subscription-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-subscription-dialog.c b/libempathy-gtk/empathy-subscription-dialog.c
index 10a59b5..04fae6d 100644
--- a/libempathy-gtk/empathy-subscription-dialog.c
+++ b/libempathy-gtk/empathy-subscription-dialog.c
@@ -247,7 +247,7 @@ empathy_subscription_dialog_constructed (GObject *object)
     {
       tmp = g_strdup_printf ("<i>%s</i>", self->priv->message);
       gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (self),
-          tmp);
+          "%s", tmp);
       g_free (tmp);
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]