diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-01 11:48:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-01 11:48:51 +0800 |
commit | c6795be3a8b7b17ced9e99e17db9ac6cbed6e018 (patch) | |
tree | 9623c989150fd850c5ca9dc6cfb61f599efae573 /shell/e-shell-content.c | |
parent | b639d1ed02e9788d98f2a202fc53105ff4bc4387 (diff) | |
download | gsoc2013-evolution-c6795be3a8b7b17ced9e99e17db9ac6cbed6e018.tar.gz gsoc2013-evolution-c6795be3a8b7b17ced9e99e17db9ac6cbed6e018.tar.zst gsoc2013-evolution-c6795be3a8b7b17ced9e99e17db9ac6cbed6e018.zip |
Continue documenting the new shell API.
svn path=/branches/kill-bonobo/; revision=36511
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r-- | shell/e-shell-content.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index f3685793b7..d331e839c1 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -208,7 +208,6 @@ shell_content_init_search_context (EShellContent *shell_content) { EShellView *shell_view; EShellModule *shell_module; - EShellViewClass *shell_view_class; RuleContext *context; FilterRule *rule; FilterPart *part; @@ -216,8 +215,7 @@ shell_content_init_search_context (EShellContent *shell_content) gchar *user_filename; shell_view = e_shell_content_get_shell_view (shell_content); - shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); - shell_module = E_SHELL_MODULE (shell_view_class->type_module); + shell_module = e_shell_view_get_shell_module (shell_view); /* The filename for built-in searches is specified in a * module's EShellModuleInfo. All built-in search rules @@ -254,7 +252,7 @@ shell_content_init_search_context (EShellContent *shell_content) if (part == NULL) g_warning ( "Could not load %s search: no parts", - shell_view_class->type_module->name); + e_shell_view_get_name (shell_view)); else filter_rule_add_part (rule, filter_part_clone (part)); |