aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-06-08 01:23:13 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-06-08 01:23:13 +0800
commit9ddfc7ec17b25b1b02f30639e291b80be85b9a5f (patch)
treea77d997c33b8a21374a112015727080b01bc0ffd /src/empathy-status-icon.c
parent9162afac50cc420698877f76756a47256e333f14 (diff)
downloadgsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar
gsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar.gz
gsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar.bz2
gsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar.lz
gsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar.xz
gsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.tar.zst
gsoc2013-empathy-9ddfc7ec17b25b1b02f30639e291b80be85b9a5f.zip
Add -Wformat and and fix some compile warnings with gcc 4.3. Fixes bug #537129 (Cosimo Cecchi).
svn path=/trunk/; revision=1152
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 15695d8fb..3c2e7a679 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -554,7 +554,8 @@ status_icon_tube_process (EmpathyStatusIcon *icon,
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
- GTK_BUTTONS_OK, str);
+ GTK_BUTTONS_OK,
+ "%s", str);
gtk_window_set_title (GTK_WINDOW (dialog),
_("Invitation Error"));
g_free (str);