From d10642df38dd76cf3cd88dc7c536119250a047d3 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 29 Jul 2012 18:37:39 +0200 Subject: [PATCH] Use dialog's content_area instead of vbox --- src/lib-display-blanking-status-menu-widget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib-display-blanking-status-menu-widget.c b/src/lib-display-blanking-status-menu-widget.c index 49f8382..3b83795 100644 --- a/src/lib-display-blanking-status-menu-widget.c +++ b/src/lib-display-blanking-status-menu-widget.c @@ -185,8 +185,9 @@ on_mode_button_clicked (GtkWidget *button, hildon_pannable_area_add_with_viewport (HILDON_PANNABLE_AREA (pan_area), vbox); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (priv->mode_dialog)->vbox), - pan_area, TRUE, TRUE, 0); + GtkWidget *content_area = gtk_dialog_get_content_area ( + GTK_DIALOG (priv->mode_dialog)); + gtk_box_pack_start (GTK_BOX (content_area), pan_area, TRUE, TRUE, 0); gtk_widget_set_size_request (pan_area, -1, MIN (350, BLANKING_MODES * 70)); -- 2.43.0