From: Leandro Lucarella Date: Sun, 29 Jul 2012 16:37:39 +0000 (+0200) Subject: Use dialog's content_area instead of vbox X-Git-Tag: v0.5~4 X-Git-Url: https://git.llucax.com/software/sadba.git/commitdiff_plain/d10642df38dd76cf3cd88dc7c536119250a047d3?hp=e7768f86f67cd6f7af601e8647936fb9b0c7ca41 Use dialog's content_area instead of vbox --- 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));