[gnome-calendar] ui: use GtkStack instead of GdStack
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] ui: use GtkStack instead of GdStack
- Date: Thu, 4 Dec 2014 22:19:18 +0000 (UTC)
commit 131aa97d92781e9d7f822da5ca7e3a30031c8d43
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Mon May 27 23:45:54 2013 -0400
ui: use GtkStack instead of GdStack
src/gcal-window.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 3cd834d..4bc1639 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -308,7 +308,7 @@ gcal_window_constructed (GObject *object)
gtk_container_add (GTK_CONTAINER (priv->main_box), priv->views_overlay);
/* stack widget for holding views */
- priv->views_stack = gd_stack_new ();
+ priv->views_stack = gtk_stack_new ();
gtk_widget_set_vexpand (priv->views_stack, TRUE);
gtk_widget_set_hexpand (priv->views_stack, TRUE);
gtk_container_add (GTK_CONTAINER (priv->views_overlay), priv->views_stack);
@@ -426,8 +426,8 @@ gcal_window_search_toggled (GObject *object,
gtk_header_bar_set_custom_title (GTK_HEADER_BAR (priv->header_bar),
priv->views_switcher);
/* return to last active_view */
- gd_stack_set_visible_child (GD_STACK (priv->views_stack),
- priv->views[priv->active_view]);
+ gtk_stack_set_visible_child (GTK_STACK (priv->views_stack),
+ priv->views[priv->active_view]);
}
}
@@ -478,8 +478,8 @@ gcal_window_set_active_view (GcalWindow *window,
if (priv->views[view_type] != NULL)
{
- gd_stack_set_visible_child (GD_STACK (priv->views_stack),
- priv->views[view_type]);
+ gtk_stack_set_visible_child (GTK_STACK (priv->views_stack),
+ priv->views[view_type]);
priv->active_view = view_type;
}
else
@@ -520,8 +520,8 @@ gcal_window_set_active_view (GcalWindow *window,
gtk_widget_show (priv->views[priv->active_view]);
gtk_container_add (GTK_CONTAINER (priv->views_stack),
priv->views[view_type]);
- gd_stack_set_visible_child (GD_STACK (priv->views_stack),
- priv->views[view_type]);
+ gtk_stack_set_visible_child (GTK_STACK (priv->views_stack),
+ priv->views[view_type]);
}
g_object_notify (G_OBJECT (window), "active-view");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]