diff options
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 9651cce08c..8d83a9fca4 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -262,7 +262,9 @@ e_shell_view_construct (EShellView *shell_view, priv = shell_view->priv; + gtk_object_ref (GTK_OBJECT (shell)); priv->shell = shell; + priv->uri = g_strdup (uri); setup_widgets (shell_view); @@ -524,4 +526,14 @@ e_shell_view_display_uri (EShellView *shell_view, } +EShell * +e_shell_view_get_shell (EShellView *shell_view) +{ + g_return_val_if_fail (shell_view != NULL, NULL); + g_return_val_if_fail (E_IS_SHELL_VIEW (shell_view), NULL); + + return shell_view->priv->shell; +} + + E_MAKE_TYPE (e_shell_view, "EShellView", EShellView, class_init, init, PARENT_TYPE) |