[gnome-disk-utility] Stop using gtk_dialog_set_alternative_button_order



commit 0354a21aaa94e5b6b536d24e04dd9dbdfe683d08
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Aug 29 14:07:42 2015 -0500

    Stop using gtk_dialog_set_alternative_button_order
    
    It's deprecated. It shouldn't be used here. And it doesn't do anything
    here. :)

 src/disks/gducreatediskimagedialog.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/disks/gducreatediskimagedialog.c b/src/disks/gducreatediskimagedialog.c
index 643e17b..119309b 100644
--- a/src/disks/gducreatediskimagedialog.c
+++ b/src/disks/gducreatediskimagedialog.c
@@ -930,10 +930,6 @@ check_overwrite (DialogData *data)
                                             g_file_info_get_display_name (folder_info));
   gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Cancel"), GTK_RESPONSE_CANCEL);
   gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Replace"), GTK_RESPONSE_ACCEPT);
-  gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
-                                           GTK_RESPONSE_ACCEPT,
-                                           GTK_RESPONSE_CANCEL,
-                                           -1);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
   response = gtk_dialog_run (GTK_DIALOG (dialog));
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]