aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-20 07:42:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-20 08:08:01 +0800
commit8e2902eefc466c662bd7bef0533de05db0897c49 (patch)
tree60390d16d242307e7dfc3310149e23acf1f225bf /plugins
parent88c48563537f3e7777193ff9ba5d9418f0038390 (diff)
downloadgsoc2013-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 'plugins')
-rw-r--r--plugins/attachment-reminder/attachment-reminder.c8
-rw-r--r--plugins/bbdb/bbdb.c14
-rw-r--r--plugins/dbx-import/dbx-importer.c4
-rw-r--r--plugins/email-custom-header/email-custom-header.c12
-rw-r--r--plugins/external-editor/external-editor.c2
-rw-r--r--plugins/face/face.c2
-rw-r--r--plugins/mail-notification/mail-notification.c8
-rw-r--r--plugins/mark-all-read/mark-all-read.c2
-rw-r--r--plugins/pst-import/pst-importer.c4
-rw-r--r--plugins/save-calendar/csv-format.c2
-rw-r--r--plugins/save-calendar/save-calendar.c4
-rw-r--r--plugins/templates/templates.c8
12 files changed, 35 insertions, 35 deletions
diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c
index e005fbdfdf..52a03231b7 100644
--- a/plugins/attachment-reminder/attachment-reminder.c
+++ b/plugins/attachment-reminder/attachment-reminder.c
@@ -525,11 +525,11 @@ e_plugin_lib_get_configure_widget (EPlugin *plugin)
UIData *ui = g_new0 (UIData, 1);
- reminder_configuration_box = gtk_vbox_new (FALSE, 6);
+ reminder_configuration_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_widget_show (reminder_configuration_box);
gtk_widget_set_size_request (reminder_configuration_box, 385, 189);
- clue_container = gtk_hbox_new (FALSE, 12);
+ clue_container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_widget_show (clue_container);
gtk_box_pack_start (
GTK_BOX (reminder_configuration_box),
@@ -547,7 +547,7 @@ e_plugin_lib_get_configure_widget (EPlugin *plugin)
gtk_container_add (GTK_CONTAINER (scrolledwindow1), clue_treeview);
gtk_container_set_border_width (GTK_CONTAINER (clue_treeview), 1);
- vbuttonbox2 = gtk_vbutton_box_new ();
+ vbuttonbox2 = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
gtk_widget_show (vbuttonbox2);
gtk_box_pack_start (GTK_BOX (clue_container), vbuttonbox2, FALSE, TRUE, 0);
gtk_button_box_set_layout (GTK_BUTTON_BOX (vbuttonbox2), GTK_BUTTONBOX_START);
@@ -628,7 +628,7 @@ e_plugin_lib_get_configure_widget (EPlugin *plugin)
/* Add the list here */
- hbox = gtk_vbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start (GTK_BOX (hbox), reminder_configuration_box, TRUE, TRUE, 0);
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index 26d1e48d27..7187f6e376 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -650,13 +650,13 @@ bbdb_page_factory (EPlugin *ep,
stuff->target = target;
/* Create a new notebook page */
- page = gtk_vbox_new (FALSE, 0);
+ page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (page), 12);
tab_label = gtk_label_new (_("Automatic Contacts"));
gtk_notebook_append_page (GTK_NOTEBOOK (hook_data->parent), page, tab_label);
/* Frame */
- frame = gtk_vbox_new (FALSE, 6);
+ frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), frame, FALSE, FALSE, 0);
/* "Automatic Contacts" */
@@ -668,11 +668,11 @@ bbdb_page_factory (EPlugin *ep,
gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0);
/* Indent/padding */
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (frame), hbox, FALSE, TRUE, 0);
padding_label = gtk_label_new ("");
gtk_box_pack_start (GTK_BOX (hbox), padding_label, FALSE, FALSE, 0);
- inner_vbox = gtk_vbox_new (FALSE, 6);
+ inner_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (hbox), inner_vbox, FALSE, FALSE, 0);
/* Enable BBDB checkbox */
@@ -697,7 +697,7 @@ bbdb_page_factory (EPlugin *ep,
stuff->combo_box = combo_box;
/* "Instant Messaging Contacts" */
- frame = gtk_vbox_new (FALSE, 6);
+ frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), frame, TRUE, TRUE, 24);
frame_label = gtk_label_new ("");
@@ -708,11 +708,11 @@ bbdb_page_factory (EPlugin *ep,
gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0);
/* Indent/padding */
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (frame), hbox, FALSE, TRUE, 0);
padding_label = gtk_label_new ("");
gtk_box_pack_start (GTK_BOX (hbox), padding_label, FALSE, FALSE, 0);
- inner_vbox = gtk_vbox_new (FALSE, 6);
+ inner_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (hbox), inner_vbox, FALSE, FALSE, 0);
/* Enable Gaim Checkbox */
diff --git a/plugins/dbx-import/dbx-importer.c b/plugins/dbx-import/dbx-importer.c
index 0eb5f4f94c..c2fe26d5cd 100644
--- a/plugins/dbx-import/dbx-importer.c
+++ b/plugins/dbx-import/dbx-importer.c
@@ -245,7 +245,7 @@ org_gnome_evolution_readdbx_getwidget (EImport *ei,
select_uri = g_strdup (local_inbox_uri);
}
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
w = gtk_label_new_with_mnemonic (_("_Destination folder:"));
gtk_box_pack_start ((GtkBox *) hbox, w, FALSE, TRUE, 6);
@@ -266,7 +266,7 @@ org_gnome_evolution_readdbx_getwidget (EImport *ei,
G_CALLBACK (folder_selected), target);
gtk_box_pack_start ((GtkBox *) hbox, w, FALSE, TRUE, 6);
- w = gtk_vbox_new (FALSE, 0);
+ w = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start ((GtkBox *) w, hbox, FALSE, FALSE, 0);
gtk_widget_show_all (w);
diff --git a/plugins/email-custom-header/email-custom-header.c b/plugins/email-custom-header/email-custom-header.c
index 25f1feff63..ba6f1779b7 100644
--- a/plugins/email-custom-header/email-custom-header.c
+++ b/plugins/email-custom-header/email-custom-header.c
@@ -793,10 +793,10 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
GtkWidget *header_edit;
GtkWidget *header_remove;
- ech_configuration_box = gtk_vbox_new (FALSE, 6);
+ ech_configuration_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_widget_show (ech_configuration_box);
- vbox2 = gtk_vbox_new (FALSE, 0);
+ vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_widget_show (vbox2);
gtk_box_pack_start (GTK_BOX (ech_configuration_box), vbox2, FALSE, FALSE, 0);
@@ -807,11 +807,11 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
gtk_label_set_justify (GTK_LABEL (label1), GTK_JUSTIFY_CENTER);
gtk_label_set_line_wrap (GTK_LABEL (label1), TRUE);
- header_configuration_box = gtk_vbox_new (FALSE, 6);
+ header_configuration_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_widget_show (header_configuration_box);
gtk_box_pack_start (GTK_BOX (ech_configuration_box), header_configuration_box, TRUE, TRUE, 0);
- header_container = gtk_hbox_new (FALSE, 12);
+ header_container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_widget_show (header_container);
gtk_box_pack_start (GTK_BOX (header_configuration_box), header_container, TRUE, TRUE, 0);
@@ -825,7 +825,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
gtk_container_add (GTK_CONTAINER (scrolledwindow1), header_treeview);
gtk_container_set_border_width (GTK_CONTAINER (header_treeview), 1);
- vbuttonbox1 = gtk_vbutton_box_new ();
+ vbuttonbox1 = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
gtk_widget_show (vbuttonbox1);
gtk_box_pack_start (GTK_BOX (header_container), vbuttonbox1, FALSE, TRUE, 0);
gtk_button_box_set_layout (GTK_BUTTON_BOX (vbuttonbox1), GTK_BUTTONBOX_START);
@@ -933,7 +933,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
/* Add the list here */
- hbox = gtk_vbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start (GTK_BOX (hbox), ech_configuration_box, TRUE, TRUE, 0);
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c
index 19a8159e56..2d3d2e00e0 100644
--- a/plugins/external-editor/external-editor.c
+++ b/plugins/external-editor/external-editor.c
@@ -107,7 +107,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
gchar *editor;
gboolean checked;
- vbox = gtk_vbox_new (FALSE, 10);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
textbox = gtk_entry_new ();
label = gtk_label_new (_("Command to be executed to launch the editor: "));
help = gtk_label_new (_("For XEmacs use \"xemacs\"\nFor Vim use \"gvim -f\""));
diff --git a/plugins/face/face.c b/plugins/face/face.c
index 45d3d2ada9..06a6bc675b 100644
--- a/plugins/face/face.c
+++ b/plugins/face/face.c
@@ -353,7 +353,7 @@ get_cfg_widget (void)
GtkWidget *vbox, *check, *img, *butt;
GdkPixbuf *face;
- vbox = gtk_vbox_new (FALSE, 6);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
check = gtk_check_button_new_with_mnemonic (_("_Insert Face picture by default"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), get_include_face_by_default ());
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index bbfc685e11..2c2c701d3b 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -655,7 +655,7 @@ get_config_widget_sound (void)
scw = g_malloc0 (sizeof (struct _SoundConfigureWidgets));
- vbox = gtk_vbox_new (FALSE, 6);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_widget_show (vbox);
container = vbox;
@@ -686,7 +686,7 @@ get_config_widget_sound (void)
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
@@ -718,7 +718,7 @@ get_config_widget_sound (void)
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (widget));
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
@@ -784,7 +784,7 @@ get_cfg_widget (void)
settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification");
- widget = gtk_vbox_new (FALSE, 12);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_widget_show (widget);
container = widget;
diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c
index e4213fd324..baba27918c 100644
--- a/plugins/mark-all-read/mark-all-read.c
+++ b/plugins/mark-all-read/mark-all-read.c
@@ -159,7 +159,7 @@ prompt_user (gboolean has_subfolders)
gtk_widget_show (widget);
/* Action Area */
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_widget_set_halign (widget, GTK_ALIGN_END);
gtk_grid_attach (GTK_GRID (grid), widget, 1, 2, 1, 1);
gtk_widget_show (widget);
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index eced3ba259..e20d09a958 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -545,10 +545,10 @@ org_credativ_evolution_readpst_getwidget (EImport *ei,
pst_import_check_items (target);
- framebox = gtk_vbox_new (FALSE, 2);
+ framebox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
/* Mail */
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
check = gtk_check_button_new_with_mnemonic (_("_Mail"));
gtk_toggle_button_set_active ((GtkToggleButton *) check, GPOINTER_TO_INT (g_datalist_get_data (&target->data, "pst-do-mail")));
g_signal_connect (
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index e5b2be3b70..872530af16 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -560,7 +560,7 @@ create_options_widget (FormatHandler *handler)
GtkWidget *table = gtk_table_new (4, 2, FALSE), *label = NULL,
*csv_options = gtk_expander_new_with_mnemonic (
_("A_dvanced options for the CSV format")),
- *vbox = gtk_vbox_new (FALSE, 0);
+ *vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
CsvPluginData *d = handler->data;
d->delimiter_entry = gtk_entry_new ();
diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c
index 8e8ca93507..c713612db8 100644
--- a/plugins/save-calendar/save-calendar.c
+++ b/plugins/save-calendar/save-calendar.c
@@ -116,8 +116,8 @@ ask_destination_and_save (ESourceSelector *selector,
{
FormatHandler *handler = NULL;
- GtkWidget *extra_widget = gtk_vbox_new (FALSE, 0);
- GtkWidget *hbox = gtk_hbox_new (FALSE, 0);
+ GtkWidget *extra_widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ GtkWidget *hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
GtkLabel *label = GTK_LABEL (gtk_label_new_with_mnemonic (_("_Format:")));
GtkComboBox *combo = GTK_COMBO_BOX (gtk_combo_box_new ());
GtkTreeModel *model = GTK_TREE_MODEL (gtk_list_store_new
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index 111014badc..7d89ac06bb 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -421,11 +421,11 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
UIData *ui = g_new0 (UIData, 1);
- templates_configuration_box = gtk_vbox_new (FALSE, 6);
+ templates_configuration_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_widget_show (templates_configuration_box);
gtk_widget_set_size_request (templates_configuration_box, 385, 189);
- clue_container = gtk_hbox_new (FALSE, 12);
+ clue_container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_widget_show (clue_container);
gtk_box_pack_start (GTK_BOX (templates_configuration_box), clue_container, TRUE, TRUE, 0);
@@ -439,7 +439,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
gtk_container_add (GTK_CONTAINER (scrolledwindow1), clue_treeview);
gtk_container_set_border_width (GTK_CONTAINER (clue_treeview), 1);
- vbuttonbox2 = gtk_vbutton_box_new ();
+ vbuttonbox2 = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
gtk_widget_show (vbuttonbox2);
gtk_box_pack_start (GTK_BOX (clue_container), vbuttonbox2, FALSE, TRUE, 0);
gtk_button_box_set_layout (GTK_BUTTON_BOX (vbuttonbox2), GTK_BUTTONBOX_START);
@@ -529,7 +529,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
/* Add the list here */
- hbox = gtk_vbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_box_pack_start (GTK_BOX (hbox), templates_configuration_box, TRUE, TRUE, 0);