From 0eadd147c38a58cd235571d228e393216416cd3e Mon Sep 17 00:00:00 2001 From: Javier Jardón Date: Tue, 22 Sep 2009 12:27:30 +0300 Subject: GTK+ 2.17.11 is now the required version I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez --- src/pdm-dialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pdm-dialog.c') diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c index fddf21f66..1c1bac06c 100644 --- a/src/pdm-dialog.c +++ b/src/pdm-dialog.c @@ -460,7 +460,7 @@ pdm_dialog_show_clear_all_dialog (EphyDialog *edialog, _("Note: You cannot undo this action. " "The data you are choosing to clear " "will be deleted forever.")); - gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), + gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), label, FALSE, FALSE, 0); /* Need to do this or the label will wrap too early */ gtk_widget_set_size_request (label, 330, -1); @@ -642,7 +642,7 @@ show_cookies_properties (PdmDialog *dialog, GtkWidget *table; GtkWidget *label; GtkWidget *parent; - GtkWidget *dialog_vbox; + GtkWidget *content_area; char *str; parent = ephy_dialog_get_control (EPHY_DIALOG(dialog), @@ -658,7 +658,8 @@ show_cookies_properties (PdmDialog *dialog, EPHY_STATE_WINDOW_SAVE_SIZE | EPHY_STATE_WINDOW_SAVE_POSITION); gtk_dialog_set_has_separator (GTK_DIALOG(gdialog), FALSE); gtk_container_set_border_width (GTK_CONTAINER (gdialog), 5); - gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (gdialog)->vbox), 14); /* 24 = 2 * 5 + 14 */ + content_area = gtk_dialog_get_content_area (GTK_DIALOG (gdialog)); + gtk_box_set_spacing (GTK_BOX (content_area), 14); /* 24 = 2 * 5 + 14 */ table = gtk_table_new (2, 4, FALSE); gtk_container_set_border_width (GTK_CONTAINER (table), 5); @@ -740,8 +741,7 @@ show_cookies_properties (PdmDialog *dialog, gtk_widget_show (label); gtk_table_attach_defaults (GTK_TABLE (table), label, 1, 2, 3, 4); - dialog_vbox = GTK_DIALOG(gdialog)->vbox; - gtk_box_pack_start (GTK_BOX(dialog_vbox), + gtk_box_pack_start (GTK_BOX (content_area), table, FALSE, FALSE, 0); -- cgit