Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-properties-dialog.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-03-31 19:09:00 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-03-31 19:09:00 (GMT)
commit80aa207c49dda77a013f0df2a2e2a393062a96b6 (patch)
tree8bc68cd259cd466866c1713547fd32f12654201a /shell/ev-properties-dialog.c
parent7e11393f41b7c3df86e1562bcc08a42b05c19a6f (diff)
[shell] Fix build with GSEAL_ENABLE
Diffstat (limited to 'shell/ev-properties-dialog.c')
-rw-r--r--shell/ev-properties-dialog.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c
index c829b3c..7ac3012 100644
--- a/shell/ev-properties-dialog.c
+++ b/shell/ev-properties-dialog.c
@@ -55,11 +55,15 @@ ev_properties_dialog_class_init (EvPropertiesDialogClass *properties_class)
static void
ev_properties_dialog_init (EvPropertiesDialog *properties)
{
+ GtkBox *content_area;
+
+ content_area = GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (properties)));
+
gtk_window_set_title (GTK_WINDOW (properties), _("Properties"));
gtk_window_set_destroy_with_parent (GTK_WINDOW (properties), TRUE);
gtk_dialog_set_has_separator (GTK_DIALOG (properties), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (properties), 5);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (properties)->vbox), 2);
+ gtk_box_set_spacing (content_area, 2);
gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE,
GTK_RESPONSE_CANCEL);
@@ -68,8 +72,7 @@ ev_properties_dialog_init (EvPropertiesDialog *properties)
properties->notebook = gtk_notebook_new ();
gtk_container_set_border_width (GTK_CONTAINER (properties->notebook), 5);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (properties)->vbox),
- properties->notebook, TRUE, TRUE, 0);
+ gtk_box_pack_start (content_area, properties->notebook, TRUE, TRUE, 0);
gtk_widget_show (properties->notebook);
g_signal_connect (properties, "response",