aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-new-message-dialog.c
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-20 06:40:36 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-20 06:40:36 +0800
commit5c00da64ec53ec3e29648ec366fab6199c922c82 (patch)
tree4c8f11cc0bf5a0fe532f816a7b715965ed6445ad /libempathy-gtk/empathy-new-message-dialog.c
parent2e2b3936ad8ee816c8a3495fb2b6806d90e4ce40 (diff)
downloadgsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.tar
gsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.tar.gz
gsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.tar.bz2
gsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.tar.lz
gsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.tar.xz
gsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.tar.zst
gsoc2013-empathy-5c00da64ec53ec3e29648ec366fab6199c922c82.zip
Fix extra buttons in new-call/message dialogs
This was caused by a missing parameter of gtk_dialog_add_buttons().
Diffstat (limited to 'libempathy-gtk/empathy-new-message-dialog.c')
-rw-r--r--libempathy-gtk/empathy-new-message-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-new-message-dialog.c b/libempathy-gtk/empathy-new-message-dialog.c
index d34e6f5f0..998df1617 100644
--- a/libempathy-gtk/empathy-new-message-dialog.c
+++ b/libempathy-gtk/empathy-new-message-dialog.c
@@ -307,7 +307,8 @@ empathy_new_message_dialog_init (EmpathyNewMessageDialog *self)
G_CALLBACK (selection_activate_cb), self);
/* close button */
- gtk_dialog_add_buttons (GTK_DIALOG (self), GTK_STOCK_CLOSE, NULL);
+ gtk_dialog_add_button (GTK_DIALOG (self),
+ GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
/* add SMS button */
self->priv->button_sms = gtk_button_new_with_mnemonic (_("_SMS"));