aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dateedit.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 /e-util/e-dateedit.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 'e-util/e-dateedit.c')
-rw-r--r--e-util/e-dateedit.c4
1 files changed, 2 insertions, 2 deletions
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);