[gedit/wip/revamp-close-confirm-dialog-2] CloseConfirmationDialog: pack custom content in content_area



commit 40241ee12574391e610bf0d72b7621aeb806a1db
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Nov 30 21:39:29 2015 +0100

    CloseConfirmationDialog: pack custom content in content_area
    
    Not message_area.

 gedit/gedit-close-confirmation-dialog.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-close-confirmation-dialog.c b/gedit/gedit-close-confirmation-dialog.c
index bf6cc0e..f39edcf 100644
--- a/gedit/gedit-close-confirmation-dialog.c
+++ b/gedit/gedit-close-confirmation-dialog.c
@@ -481,7 +481,7 @@ create_list_box (GeditCloseConfirmationDialog *dlg)
 static void
 build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
 {
-       GtkWidget *message_area;
+       GtkWidget *content_area;
        GtkWidget *vbox;
        GtkWidget *select_label;
        GtkWidget *scrolledwindow;
@@ -521,8 +521,8 @@ build_multiple_docs_dialog (GeditCloseConfirmationDialog *dlg)
 
        /* List of unsaved documents */
        vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
-       message_area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dlg));
-       gtk_box_pack_start (GTK_BOX (message_area), vbox, TRUE, TRUE, 0);
+       content_area = gtk_dialog_get_content_area (GTK_DIALOG (dlg));
+       gtk_box_pack_start (GTK_BOX (content_area), vbox, TRUE, TRUE, 0);
 
        if (dlg->disable_save_to_disk)
        {


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