[gtk+/dialogs] Fix a few issues in gtkmountoperation.c



commit d0d0b10deeaa6d6ff7a9f477672ecddbb7185eb8
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jan 16 22:39:22 2014 -0500

    Fix a few issues in gtkmountoperation.c
    
    We were setting a non-existing property.

 gtk/gtkmountoperation.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 7ff1f33..6016a1b 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -540,10 +540,12 @@ G_GNUC_END_IGNORE_DEPRECATIONS
                           NULL);
   gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK);
 
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_dialog_set_alternative_button_order (dialog,
                                            GTK_RESPONSE_OK,
                                            GTK_RESPONSE_CANCEL,
                                            -1);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
   /* Build contents */
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
@@ -1416,7 +1418,7 @@ create_show_processes_dialog (GtkMountOperation *op,
                 "gtk-dialogs-use-header", &use_header,
                 NULL);
   dialog = g_object_new (GTK_TYPE_DIALOG,
-                         "gtk-dialogs-use-header", use_header,
+                         "use-header-bar", use_header,
                          NULL);
 
   if (priv->parent_window != NULL)


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