aboutsummaryrefslogtreecommitdiffstats
path: root/shell/test
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-02 02:58:37 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-02 02:58:37 +0800
commite52986f4225cbe8496043da74ca250521d244705 (patch)
treeb77ea07323e7ae339410012e672e643c1502eb91 /shell/test
parentc6795be3a8b7b17ced9e99e17db9ac6cbed6e018 (diff)
downloadgsoc2013-evolution-e52986f4225cbe8496043da74ca250521d244705.tar.gz
gsoc2013-evolution-e52986f4225cbe8496043da74ca250521d244705.tar.zst
gsoc2013-evolution-e52986f4225cbe8496043da74ca250521d244705.zip
Add more EShell API documentation.
svn path=/branches/kill-bonobo/; revision=36533
Diffstat (limited to 'shell/test')
-rw-r--r--shell/test/e-test-shell-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/test/e-test-shell-view.c b/shell/test/e-test-shell-view.c
index 7701849cc2..d243906af7 100644
--- a/shell/test/e-test-shell-view.c
+++ b/shell/test/e-test-shell-view.c
@@ -70,6 +70,7 @@ test_shell_view_constructed (GObject *object)
ETestShellViewPrivate *priv;
EShellContent *shell_content;
EShellSidebar *shell_sidebar;
+ EShellModule *shell_module;
EShellView *shell_view;
EActivity *activity;
GtkWidget *widget;
@@ -80,6 +81,7 @@ test_shell_view_constructed (GObject *object)
priv = E_TEST_SHELL_VIEW_GET_PRIVATE (object);
shell_view = E_SHELL_VIEW (object);
+ shell_module = e_shell_view_get_shell_module (shell_view);
shell_content = e_shell_view_get_shell_content (shell_view);
shell_sidebar = e_shell_view_get_shell_sidebar (shell_view);
@@ -93,7 +95,7 @@ test_shell_view_constructed (GObject *object)
activity = e_activity_new ("Test Activity");
e_activity_set_cancellable (activity, TRUE);
- e_shell_view_add_activity (shell_view, activity);
+ e_shell_module_add_activity (shell_module, activity);
priv->activity = activity;
}