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 /calendar/gui/e-week-view.c | |
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 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 2e00d3b078..5d140832fe 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -851,7 +851,8 @@ e_week_view_init (EWeekView *week_view) */ adjustment = GTK_ADJUSTMENT (gtk_adjustment_new (0, -52, 52, 1, 1, 1)); - week_view->vscrollbar = gtk_vscrollbar_new (adjustment); + week_view->vscrollbar = gtk_scrollbar_new ( + GTK_ORIENTATION_VERTICAL, adjustment); gtk_table_attach ( GTK_TABLE (week_view), week_view->vscrollbar, 2, 3, 1, 2, 0, GTK_EXPAND | GTK_FILL, 0, 0); |