aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates/templates.c
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/templates/templates.c
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/templates/templates.c')
-rw-r--r--plugins/templates/templates.c8
1 files changed, 4 insertions, 4 deletions
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);