From 8e2902eefc466c662bd7bef0533de05db0897c49 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 19 Jan 2013 18:42:33 -0500 Subject: 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()). --- modules/calendar/e-cal-shell-content.c | 6 +++--- modules/calendar/e-cal-shell-sidebar.c | 2 +- modules/calendar/e-cal-shell-view-actions.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/calendar') diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c index 66ea4a460e..638fa3c72f 100644 --- a/modules/calendar/e-cal-shell-content.c +++ b/modules/calendar/e-cal-shell-content.c @@ -419,13 +419,13 @@ cal_shell_content_constructed (GObject *object) container = priv->vpaned; if (!e_shell_get_express_mode (shell)) { - widget = gtk_vbox_new (FALSE, 0); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, TRUE); gtk_widget_show (widget); container = widget; - widget = gtk_hseparator_new (); + widget = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, TRUE, 0); gtk_widget_show (widget); @@ -462,7 +462,7 @@ cal_shell_content_constructed (GObject *object) container = priv->vpaned; - widget = gtk_vbox_new (FALSE, 0); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_paned_pack2 (GTK_PANED (container), widget, TRUE, TRUE); gtk_widget_show (widget); diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c index 7555950cd1..3a870257e7 100644 --- a/modules/calendar/e-cal-shell-sidebar.c +++ b/modules/calendar/e-cal-shell-sidebar.c @@ -709,7 +709,7 @@ cal_shell_sidebar_constructed (GObject *object) container = widget; - widget = gtk_vbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, TRUE); gtk_widget_show (widget); diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c index f3523c9d8b..8c66a68ed7 100644 --- a/modules/calendar/e-cal-shell-view-actions.c +++ b/modules/calendar/e-cal-shell-view-actions.c @@ -328,7 +328,7 @@ action_calendar_purge_cb (GtkAction *action, container = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, FALSE, 6); gtk_widget_show (widget); -- cgit v1.2.3