[gnome-utils] Fix GSEAL issues



commit 2e03041f2903d34170fdea5e3a2e4bf52c386474
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Tue Jun 22 21:49:10 2010 +0200

    Fix GSEAL issues
    
    GNOME bug #612485

 gnome-screenshot/gnome-screenshot.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnome-screenshot/gnome-screenshot.c b/gnome-screenshot/gnome-screenshot.c
index fe12c70..ef22e5c 100644
--- a/gnome-screenshot/gnome-screenshot.c
+++ b/gnome-screenshot/gnome-screenshot.c
@@ -506,19 +506,19 @@ create_interactive_dialog (void)
 {
   GtkWidget *retval;
   GtkWidget *main_vbox;
+  GtkWidget *content_area;
 
   retval = gtk_dialog_new ();
   gtk_window_set_resizable (GTK_WINDOW (retval), FALSE);
   gtk_container_set_border_width (GTK_CONTAINER (retval), 5);
-  gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (retval)->vbox), 2);
+  content_area = gtk_dialog_get_content_area (GTK_DIALOG (retval));
+  gtk_box_set_spacing (GTK_BOX (content_area), 2);
   gtk_window_set_title (GTK_WINDOW (retval), _("Take Screenshot"));
 
   /* main container */
   main_vbox = gtk_vbox_new (FALSE, 18);
   gtk_container_set_border_width (GTK_CONTAINER (main_vbox), 5);
-  gtk_box_pack_start (GTK_BOX (GTK_DIALOG (retval)->vbox),
-                      main_vbox,
-                      TRUE, TRUE, 0);
+  gtk_box_pack_start (GTK_BOX (content_area), main_vbox, TRUE, TRUE, 0);
   gtk_widget_show (main_vbox);
 
   create_screenshot_frame (main_vbox, _("Take Screenshot"));



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