aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-shell-content.c6
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c2
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c2
3 files changed, 5 insertions, 5 deletions
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);