From 8e2902eefc466c662bd7bef0533de05db0897c49 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 19 Jan 2013 18:42:33 -0500 Subject: Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2. Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()). --- composer/e-composer-header-table.c | 2 +- composer/e-composer-private.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'composer') diff --git a/composer/e-composer-header-table.c b/composer/e-composer-header-table.c index b3846b40ce..297f815951 100644 --- a/composer/e-composer-header-table.c +++ b/composer/e-composer-header-table.c @@ -924,7 +924,7 @@ composer_header_table_constructed (GObject *object) table->priv->signature_combo_box, 3, 4, ii, ii + 1, 0, 0, 0, row_padding); } else { - GtkWidget *box = gtk_hbox_new (FALSE, 0); + GtkWidget *box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start ( GTK_BOX (box), diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c index 514a48568b..8331174f20 100644 --- a/composer/e-composer-private.c +++ b/composer/e-composer-private.c @@ -318,9 +318,9 @@ e_composer_private_constructed (EMsgComposer *composer) container = e_attachment_paned_get_controls_container ( E_ATTACHMENT_PANED (widget)); - tmp_box = gtk_hbox_new (FALSE, 0); + tmp_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); - tmp = gtk_hbox_new (FALSE, 0); + tmp = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); tmp1 = gtk_image_new_from_icon_name ( "mail-send", GTK_ICON_SIZE_BUTTON); gtk_box_pack_start ((GtkBox *) tmp, tmp1, FALSE, FALSE, 0); @@ -340,7 +340,7 @@ e_composer_private_constructed (EMsgComposer *composer) gtk_button_set_relief ((GtkButton *) send_widget, GTK_RELIEF_NORMAL); path = "/main-toolbar/pre-main-toolbar/save-draft"; send_widget = gtk_ui_manager_get_widget (ui_manager, path); - tmp = gtk_hbox_new (FALSE, 0); + tmp = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); tmp1 = gtk_image_new_from_stock ( GTK_STOCK_SAVE, GTK_ICON_SIZE_BUTTON); gtk_box_pack_start ((GtkBox *) tmp, tmp1, FALSE, FALSE, 0); @@ -366,7 +366,7 @@ e_composer_private_constructed (EMsgComposer *composer) container = e_attachment_paned_get_content_area ( E_ATTACHMENT_PANED (priv->attachment_paned)); - widget = gtk_vpaned_new (); + widget = gtk_paned_new (GTK_ORIENTATION_VERTICAL); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); -- cgit