diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-20 07:42:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-20 08:08:01 +0800 |
commit | 8e2902eefc466c662bd7bef0533de05db0897c49 (patch) | |
tree | 60390d16d242307e7dfc3310149e23acf1f225bf /composer | |
parent | 88c48563537f3e7777193ff9ba5d9418f0038390 (diff) | |
download | gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.gz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.bz2 gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.lz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.xz gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.zst gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.zip |
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()).
Diffstat (limited to 'composer')
-rw-r--r-- | composer/e-composer-header-table.c | 2 | ||||
-rw-r--r-- | composer/e-composer-private.c | 8 |
2 files changed, 5 insertions, 5 deletions
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); |