summaryrefslogtreecommitdiff
path: root/src/terminal-app.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-11 17:00:16 +0200
committerraveit65 <[email protected]>2016-06-11 17:00:16 +0200
commitc6fba6db82e8f427bb573f36578b99f12d6968f9 (patch)
treed48f0612ab8db6650d5bfd5c83396e6cda332717 /src/terminal-app.c
parentbf2b46a27db85b08e906404dce4e5261e523fdf3 (diff)
downloadmate-terminal-c6fba6db82e8f427bb573f36578b99f12d6968f9.tar.bz2
mate-terminal-c6fba6db82e8f427bb573f36578b99f12d6968f9.tar.xz
do not use deprecated gtk_dialog_set_alternative_button_order
deprecated since gtk+-3.10
Diffstat (limited to 'src/terminal-app.c')
-rw-r--r--src/terminal-app.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/terminal-app.c b/src/terminal-app.c
index af9ac39..f1c02c1 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -692,10 +692,7 @@ profile_list_delete_button_clicked_cb (GtkWidget *button,
GTK_STOCK_DELETE,
GTK_RESPONSE_ACCEPT,
NULL);
- gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
- GTK_RESPONSE_ACCEPT,
- GTK_RESPONSE_REJECT,
- -1);
+
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT);
@@ -1245,10 +1242,6 @@ terminal_app_new_profile (TerminalApp *app,
gtk_label_set_mnemonic_widget (GTK_LABEL (base_label), combo);
- gtk_dialog_set_alternative_button_order (GTK_DIALOG (app->new_profile_dialog),
- GTK_RESPONSE_ACCEPT,
- GTK_RESPONSE_CANCEL,
- -1);
gtk_dialog_set_default_response (GTK_DIALOG (app->new_profile_dialog), GTK_RESPONSE_ACCEPT);
gtk_dialog_set_response_sensitive (GTK_DIALOG (app->new_profile_dialog), GTK_RESPONSE_ACCEPT, FALSE);
}