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 /e-util | |
parent | 88c48563537f3e7777193ff9ba5d9418f0038390 (diff) | |
download | gsoc2013-evolution-8e2902eefc466c662bd7bef0533de05db0897c49.tar.gz 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 'e-util')
-rw-r--r-- | e-util/e-activity-bar.c | 2 | ||||
-rw-r--r-- | e-util/e-activity-proxy.c | 2 | ||||
-rw-r--r-- | e-util/e-alert-bar.c | 2 | ||||
-rw-r--r-- | e-util/e-alert-dialog.c | 4 | ||||
-rw-r--r-- | e-util/e-attachment-bar.c | 6 | ||||
-rw-r--r-- | e-util/e-attachment-paned.c | 8 | ||||
-rw-r--r-- | e-util/e-cell-date-edit.c | 8 | ||||
-rw-r--r-- | e-util/e-config.c | 6 | ||||
-rw-r--r-- | e-util/e-dateedit.c | 4 | ||||
-rw-r--r-- | e-util/e-filter-part.c | 2 | ||||
-rw-r--r-- | e-util/e-filter-rule.c | 2 | ||||
-rw-r--r-- | e-util/e-import-assistant.c | 14 | ||||
-rw-r--r-- | e-util/e-mail-signature-editor.c | 2 | ||||
-rw-r--r-- | e-util/e-mail-signature-manager.c | 4 | ||||
-rw-r--r-- | e-util/e-mail-signature-script-dialog.c | 2 | ||||
-rw-r--r-- | e-util/e-preferences-window.c | 6 | ||||
-rw-r--r-- | e-util/e-search-bar.c | 6 | ||||
-rw-r--r-- | e-util/e-source-config.c | 8 | ||||
-rw-r--r-- | e-util/e-table-field-chooser.c | 2 | ||||
-rw-r--r-- | e-util/test-calendar.c | 2 | ||||
-rw-r--r-- | e-util/test-mail-signatures.c | 4 |
21 files changed, 48 insertions, 48 deletions
diff --git a/e-util/e-activity-bar.c b/e-util/e-activity-bar.c index f85b403bd7..b90996bd9b 100644 --- a/e-util/e-activity-bar.c +++ b/e-util/e-activity-bar.c @@ -265,7 +265,7 @@ e_activity_bar_init (EActivityBar *bar) container = gtk_info_bar_get_content_area (GTK_INFO_BAR (bar)); - widget = gtk_hbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); diff --git a/e-util/e-activity-proxy.c b/e-util/e-activity-proxy.c index 7547088aac..43c77a522f 100644 --- a/e-util/e-activity-proxy.c +++ b/e-util/e-activity-proxy.c @@ -273,7 +273,7 @@ e_activity_proxy_init (EActivityProxy *proxy) container = GTK_WIDGET (proxy); - widget = gtk_hbox_new (FALSE, 3); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); diff --git a/e-util/e-alert-bar.c b/e-util/e-alert-bar.c index 2022af99f1..c19fa74a47 100644 --- a/e-util/e-alert-bar.c +++ b/e-util/e-alert-bar.c @@ -264,7 +264,7 @@ alert_bar_constructed (GObject *object) priv->image = widget; gtk_widget_show (widget); - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); gtk_widget_show (widget); diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c index 75650902ae..8a75101997 100644 --- a/e-util/e-alert-dialog.c +++ b/e-util/e-alert-dialog.c @@ -206,7 +206,7 @@ alert_dialog_constructed (GObject *object) actions = g_list_next (actions); } - widget = gtk_hbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_container_set_border_width (GTK_CONTAINER (widget), 12); gtk_box_pack_start (GTK_BOX (content_area), widget, FALSE, FALSE, 0); gtk_widget_show (widget); @@ -218,7 +218,7 @@ alert_dialog_constructed (GObject *object) gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); dialog->priv->content_area = widget; gtk_widget_show (widget); diff --git a/e-util/e-attachment-bar.c b/e-util/e-attachment-bar.c index 3fc4753055..56b1a50331 100644 --- a/e-util/e-attachment-bar.c +++ b/e-util/e-attachment-bar.c @@ -572,7 +572,7 @@ e_attachment_bar_init (EAttachmentBar *bar) container = GTK_WIDGET (bar); - widget = gtk_vbox_new (FALSE, 0); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_end (GTK_BOX (container), widget, FALSE, FALSE, 0); bar->priv->vbox = g_object_ref (widget); gtk_widget_show (widget); @@ -615,7 +615,7 @@ e_attachment_bar_init (EAttachmentBar *bar) container = GTK_WIDGET (bar); - widget = gtk_hbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_box_pack_end (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); @@ -666,7 +666,7 @@ e_attachment_bar_init (EAttachmentBar *bar) container = bar->priv->expander; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_size_group_add_widget (size_group, widget); gtk_expander_set_label_widget (GTK_EXPANDER (container), widget); gtk_widget_show (widget); diff --git a/e-util/e-attachment-paned.c b/e-util/e-attachment-paned.c index a3c4efb187..618ddf9e1d 100644 --- a/e-util/e-attachment-paned.c +++ b/e-util/e-attachment-paned.c @@ -666,14 +666,14 @@ e_attachment_paned_init (EAttachmentPaned *paned) container = GTK_WIDGET (paned); - widget = gtk_vbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, FALSE); paned->priv->content_area = g_object_ref (widget); gtk_widget_show (widget); container = widget; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_end (GTK_BOX (container), widget, FALSE, FALSE, 0); paned->priv->controls_container = widget; gtk_widget_show (widget); @@ -709,7 +709,7 @@ e_attachment_paned_init (EAttachmentPaned *paned) container = paned->priv->expander; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_size_group_add_widget (size_group, widget); gtk_expander_set_label_widget (GTK_EXPANDER (container), widget); gtk_widget_show (widget); @@ -727,7 +727,7 @@ e_attachment_paned_init (EAttachmentPaned *paned) container = widget; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); diff --git a/e-util/e-cell-date-edit.c b/e-util/e-cell-date-edit.c index 4f35fbb266..8b43bc9745 100644 --- a/e-util/e-cell-date-edit.c +++ b/e-util/e-cell-date-edit.c @@ -229,11 +229,11 @@ e_cell_date_edit_init (ECellDateEdit *ecde) gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT); gtk_widget_show (frame); - vbox = gtk_vbox_new (FALSE, 0); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_container_add (GTK_CONTAINER (frame), vbox); gtk_widget_show (vbox); - hbox = gtk_hbox_new (FALSE, 4); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); gtk_widget_show (hbox); @@ -245,7 +245,7 @@ e_cell_date_edit_init (ECellDateEdit *ecde) gtk_box_pack_start (GTK_BOX (hbox), ecde->calendar, TRUE, TRUE, 0); gtk_widget_show (ecde->calendar); - vbox2 = gtk_vbox_new (FALSE, 2); + vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); gtk_box_pack_start (GTK_BOX (hbox), vbox2, TRUE, TRUE, 0); gtk_widget_show (vbox2); @@ -290,7 +290,7 @@ e_cell_date_edit_init (ECellDateEdit *ecde) gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)), "changed", G_CALLBACK (e_cell_date_edit_on_time_selected), ecde); - bbox = gtk_hbutton_box_new (); + bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); gtk_container_set_border_width (GTK_CONTAINER (bbox), 4); gtk_box_set_spacing (GTK_BOX (bbox), 2); gtk_box_pack_start (GTK_BOX (vbox), bbox, FALSE, FALSE, 0); diff --git a/e-util/e-config.c b/e-util/e-config.c index 88ec69a68d..265b48bf7b 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -462,7 +462,7 @@ ec_rebuild (EConfig *emp) } else if (wn->widget == NULL) { w = gtk_label_new_with_mnemonic (translated_label); gtk_widget_show (w); - page = gtk_vbox_new (FALSE, 12); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_container_set_border_width ((GtkContainer *) page, 12); gtk_widget_show (page); gtk_notebook_insert_page ((GtkNotebook *) book, page, w, pageno); @@ -559,7 +559,7 @@ ec_rebuild (EConfig *emp) } if (item->type == E_CONFIG_SECTION) - section = gtk_vbox_new (FALSE, 6); + section = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); else { section = gtk_table_new (1, 1, FALSE); gtk_table_set_col_spacings ((GtkTable *) section, 6); @@ -1169,7 +1169,7 @@ ech_config_section_factory (EConfig *config, switch (item->type) { case E_CONFIG_SECTION: - widget = gtk_vbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); break; case E_CONFIG_SECTION_TABLE: diff --git a/e-util/e-dateedit.c b/e-util/e-dateedit.c index ab6085f44b..ab569bebb0 100644 --- a/e-util/e-dateedit.c +++ b/e-util/e-dateedit.c @@ -672,7 +672,7 @@ create_children (EDateEdit *dedit) gtk_container_add (GTK_CONTAINER (priv->cal_popup), frame); gtk_widget_show (frame); - vbox = gtk_vbox_new (FALSE, 0); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_container_add (GTK_CONTAINER (frame), vbox); gtk_widget_show (vbox); @@ -691,7 +691,7 @@ create_children (EDateEdit *dedit) gtk_box_pack_start (GTK_BOX (vbox), priv->calendar, FALSE, FALSE, 0); gtk_widget_show (priv->calendar); - bbox = gtk_hbutton_box_new (); + bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); gtk_container_set_border_width (GTK_CONTAINER (bbox), 4); gtk_box_set_spacing (GTK_BOX (bbox), 2); gtk_box_pack_start (GTK_BOX (vbox), bbox, FALSE, FALSE, 0); diff --git a/e-util/e-filter-part.c b/e-util/e-filter-part.c index c9e14e30c6..775b7a300a 100644 --- a/e-util/e-filter-part.c +++ b/e-util/e-filter-part.c @@ -336,7 +336,7 @@ e_filter_part_get_widget (EFilterPart *part) g_return_val_if_fail (E_IS_FILTER_PART (part), NULL); - hbox = gtk_hbox_new (FALSE, 3); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3); for (link = part->elements; link != NULL; link = g_list_next (link)) { EFilterElement *element = link->data; diff --git a/e-util/e-filter-rule.c b/e-util/e-filter-rule.c index 111073bbad..8dc9a17a8a 100644 --- a/e-util/e-filter-rule.c +++ b/e-util/e-filter-rule.c @@ -141,7 +141,7 @@ get_rule_part_widget (ERuleContext *context, data->context = context; data->part = newpart; - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* only set to automatically clean up the memory */ g_object_set_data_full ((GObject *) hbox, "data", data, g_free); diff --git a/e-util/e-import-assistant.c b/e-util/e-import-assistant.c index ae48e5c217..32ebe958da 100644 --- a/e-util/e-import-assistant.c +++ b/e-util/e-import-assistant.c @@ -247,7 +247,7 @@ import_assistant_file_page_init (EImportAssistant *import_assistant) const gchar *text; gint row = 0; - page = gtk_vbox_new (FALSE, 6); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (page), 12); gtk_widget_show (page); @@ -331,7 +331,7 @@ import_assistant_destination_page_init (EImportAssistant *import_assistant) GtkWidget *widget; const gchar *text; - page = gtk_vbox_new (FALSE, 6); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (page), 12); gtk_widget_show (page); @@ -356,7 +356,7 @@ import_assistant_type_page_init (EImportAssistant *import_assistant) GtkWidget *widget; const gchar *text; - page = gtk_vbox_new (FALSE, 6); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (page), 12); gtk_widget_show (page); @@ -394,7 +394,7 @@ import_assistant_selection_page_init (EImportAssistant *import_assistant) GtkWidget *widget; const gchar *text; - page = gtk_vbox_new (FALSE, 6); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (page), 12); gtk_widget_show (page); @@ -408,7 +408,7 @@ import_assistant_selection_page_init (EImportAssistant *import_assistant) gtk_box_pack_start (GTK_BOX (container), widget, FALSE, TRUE, 0); gtk_widget_show (widget); - widget = gtk_hseparator_new (); + widget = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); @@ -422,7 +422,7 @@ import_assistant_progress_page_init (EImportAssistant *import_assistant) GtkWidget *container; GtkWidget *widget; - page = gtk_vbox_new (FALSE, 6); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (page), 12); gtk_widget_show (page); @@ -447,7 +447,7 @@ import_assistant_simple_page_init (EImportAssistant *import_assistant) GtkListStore *store; gint row = 0; - page = gtk_vbox_new (FALSE, 6); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (page), 12); gtk_widget_show (page); diff --git a/e-util/e-mail-signature-editor.c b/e-util/e-mail-signature-editor.c index de5337d923..801a61ffc7 100644 --- a/e-util/e-mail-signature-editor.c +++ b/e-util/e-mail-signature-editor.c @@ -516,7 +516,7 @@ mail_signature_editor_constructed (GObject *object) container = gtkhtml_editor->vbox; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_set_border_width (GTK_CONTAINER (widget), 6); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); /* Position 2 should be between the main and style toolbars. */ diff --git a/e-util/e-mail-signature-manager.c b/e-util/e-mail-signature-manager.c index 66463336ea..b32e9ddd60 100644 --- a/e-util/e-mail-signature-manager.c +++ b/e-util/e-mail-signature-manager.c @@ -274,7 +274,7 @@ mail_signature_manager_constructed (GObject *object) container = widget; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); @@ -315,7 +315,7 @@ mail_signature_manager_constructed (GObject *object) container = hbox; - widget = gtk_vbutton_box_new (); + widget = gtk_button_box_new (GTK_ORIENTATION_VERTICAL); gtk_button_box_set_layout ( GTK_BUTTON_BOX (widget), GTK_BUTTONBOX_START); gtk_box_set_spacing (GTK_BOX (widget), 6); diff --git a/e-util/e-mail-signature-script-dialog.c b/e-util/e-mail-signature-script-dialog.c index 58e8c43157..00110a34d8 100644 --- a/e-util/e-mail-signature-script-dialog.c +++ b/e-util/e-mail-signature-script-dialog.c @@ -458,7 +458,7 @@ mail_signature_script_dialog_constructed (GObject *object) 0, 1, 3, 4, GTK_FILL, 0, 0, 0); gtk_widget_show (widget); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_table_attach ( GTK_TABLE (container), widget, 1, 2, 3, 4, 0, 0, 0, 0); diff --git a/e-util/e-preferences-window.c b/e-util/e-preferences-window.c index fbe6c01d21..fda3037cff 100644 --- a/e-util/e-preferences-window.c +++ b/e-util/e-preferences-window.c @@ -324,13 +324,13 @@ e_preferences_window_init (EPreferencesWindow *window) window, "delete-event", G_CALLBACK (gtk_widget_hide_on_delete), NULL); - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_container_add (GTK_CONTAINER (window), widget); gtk_widget_show (widget); vbox = widget; - widget = gtk_hbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_box_pack_start (GTK_BOX (vbox), widget, TRUE, TRUE, 0); gtk_widget_show (widget); @@ -368,7 +368,7 @@ e_preferences_window_init (EPreferencesWindow *window) window->priv->notebook = g_object_ref (widget); gtk_widget_show (widget); - widget = gtk_hbutton_box_new (); + widget = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); gtk_button_box_set_layout ( GTK_BUTTON_BOX (widget), GTK_BUTTONBOX_END); gtk_box_pack_start (GTK_BOX (vbox), widget, FALSE, FALSE, 0); diff --git a/e-util/e-search-bar.c b/e-util/e-search-bar.c index 9ed0c2d1c9..678e2e8d60 100644 --- a/e-util/e-search-bar.c +++ b/e-util/e-search-bar.c @@ -513,7 +513,7 @@ e_search_bar_init (ESearchBar *search_bar) container = GTK_WIDGET (search_bar); - widget = gtk_hbox_new (FALSE, 1); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 1); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); @@ -621,7 +621,7 @@ e_search_bar_init (ESearchBar *search_bar) container = GTK_WIDGET (search_bar); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); search_bar->priv->wrapped_next_box = g_object_ref (widget); gtk_widget_hide (widget); @@ -643,7 +643,7 @@ e_search_bar_init (ESearchBar *search_bar) container = GTK_WIDGET (search_bar); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); search_bar->priv->wrapped_prev_box = g_object_ref (widget); gtk_widget_hide (widget); diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c index 3ffd303804..747cd3b6a7 100644 --- a/e-util/e-source-config.c +++ b/e-util/e-source-config.c @@ -194,7 +194,7 @@ source_config_add_candidate (ESourceConfig *config, candidate->scratch_source = g_object_ref (scratch_source); /* Do not show the page here. */ - candidate->page = g_object_ref_sink (gtk_vbox_new (FALSE, 6)); + candidate->page = g_object_ref_sink (gtk_box_new (GTK_ORIENTATION_VERTICAL, 6)); gtk_box_pack_start (backend_box, candidate->page, FALSE, FALSE, 0); g_ptr_array_add (config->priv->candidates, candidate); @@ -1014,7 +1014,7 @@ e_source_config_init (ESourceConfig *config) /* The backend box holds backend-specific options. Each backend * gets a child widget. Only one child widget is visible at once. */ - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_box_pack_end (GTK_BOX (config), widget, TRUE, TRUE, 0); config->priv->backend_box = g_object_ref (widget); gtk_widget_show (widget); @@ -1058,7 +1058,7 @@ e_source_config_insert_widget (ESourceConfig *config, else vbox = e_source_config_get_page (config, scratch_source); - hbox = gtk_hbox_new (FALSE, 12); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0); g_object_bind_property ( @@ -1282,7 +1282,7 @@ e_source_config_add_refresh_interval (ESourceConfig *config, container = widget; - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); diff --git a/e-util/e-table-field-chooser.c b/e-util/e-table-field-chooser.c index c402edb7fe..dd8a171f9d 100644 --- a/e-util/e-table-field-chooser.c +++ b/e-util/e-table-field-chooser.c @@ -158,7 +158,7 @@ create_content (GnomeCanvas **canvas) g_return_val_if_fail (canvas != NULL, NULL); - vbox_top = gtk_vbox_new (FALSE, 4); + vbox_top = gtk_box_new (GTK_ORIENTATION_VERTICAL, 4); gtk_widget_show (vbox_top); label1 = gtk_label_new (_("To add a column to your table, drag it into\nthe location in which you want it to appear.")); diff --git a/e-util/test-calendar.c b/e-util/test-calendar.c index 718c80e639..9d36e9027a 100644 --- a/e-util/test-calendar.c +++ b/e-util/test-calendar.c @@ -90,7 +90,7 @@ main (gint argc, target_table, G_N_ELEMENTS (target_table), GDK_ACTION_COPY | GDK_ACTION_MOVE); - vbox = gtk_vbox_new (FALSE, 0); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start (GTK_BOX (vbox), cal, TRUE, TRUE, 0); gtk_widget_show (vbox); diff --git a/e-util/test-mail-signatures.c b/e-util/test-mail-signatures.c index 3dc5f0a720..857dbeae02 100644 --- a/e-util/test-mail-signatures.c +++ b/e-util/test-mail-signatures.c @@ -123,7 +123,7 @@ main (gint argc, container = widget; - widget = gtk_vbox_new (FALSE, 12); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); gtk_container_add (GTK_CONTAINER (container), widget); gtk_widget_show (widget); @@ -135,7 +135,7 @@ main (gint argc, gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); - widget = gtk_vbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_widget_set_margin_left (widget, 12); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); gtk_widget_show (widget); |