Skip to content

Commit

Permalink
Drop gtk_dialog_set_alternative_button_order
Browse files Browse the repository at this point in the history
It's deprecated and only makes sense when targeting
platforms that order buttons differently, i.e. Windows.
  • Loading branch information
Andre Miranda committed Jun 2, 2018
1 parent 2e46a2f commit 9d3cca4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions thunar/thunar-dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,13 +555,6 @@ thunar_dialogs_show_job_ask_replace (GtkWindow *parent,
_("Replace _All"), THUNAR_JOB_RESPONSE_YES_ALL,
_("_Replace"), THUNAR_JOB_RESPONSE_YES,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
THUNAR_JOB_RESPONSE_YES,
THUNAR_JOB_RESPONSE_YES_ALL,
THUNAR_JOB_RESPONSE_NO,
THUNAR_JOB_RESPONSE_NO_ALL,
GTK_RESPONSE_CANCEL,
-1);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), THUNAR_JOB_RESPONSE_YES);

/* determine the icon factory to use */
Expand Down
1 change: 0 additions & 1 deletion thunar/thunar-properties-dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,6 @@ thunar_properties_dialog_icon_button_clicked (GtkWidget *button,
_("_Cancel"), GTK_RESPONSE_CANCEL,
_("_OK"), GTK_RESPONSE_ACCEPT,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (chooser), GTK_RESPONSE_ACCEPT, GTK_RESPONSE_CANCEL, -1);
gtk_dialog_set_default_response (GTK_DIALOG (chooser), GTK_RESPONSE_ACCEPT);
g_free (title);

Expand Down

0 comments on commit 9d3cca4

Please sign in to comment.