aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-new-call-dialog.c3
-rw-r--r--libempathy-gtk/empathy-new-message-dialog.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-new-call-dialog.c b/libempathy-gtk/empathy-new-call-dialog.c
index 26865574d..6c55f095e 100644
--- a/libempathy-gtk/empathy-new-call-dialog.c
+++ b/libempathy-gtk/empathy-new-call-dialog.c
@@ -219,7 +219,8 @@ empathy_new_call_dialog_init (EmpathyNewCallDialog *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 video button */
self->priv->button_video = gtk_button_new_with_mnemonic (_("_Video Call"));
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"));