aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-offline-handler.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-14 12:23:27 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-14 12:23:27 +0800
commit48ef648a2e06d32439c1e732fbb3dd28fedb0a30 (patch)
tree9e98888e0991dd12f5e6956661139b10a31548df /shell/e-shell-offline-handler.h
parent17f6f9980adefe5642c165fef6b1e9b15dd7cf7d (diff)
downloadgsoc2013-evolution-48ef648a2e06d32439c1e732fbb3dd28fedb0a30.tar.gz
gsoc2013-evolution-48ef648a2e06d32439c1e732fbb3dd28fedb0a30.tar.zst
gsoc2013-evolution-48ef648a2e06d32439c1e732fbb3dd28fedb0a30.zip
Pass self to e_shell_offline_handler_new() instead of the component
* e-shell.c (e_shell_go_offline): Pass self to e_shell_offline_handler_new() instead of the component registry. * e-shell-offline-handler.c: Replace member `component_registry' in EShellOfflineHandlerPrivate with a `shell' member. Updated all the code to retrieve the component registry from the shell instead of directly. (e_shell_offline_handler_construct): Get a @shell instead of a @component_registry. svn path=/trunk/; revision=16779
Diffstat (limited to 'shell/e-shell-offline-handler.h')
-rw-r--r--shell/e-shell-offline-handler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-offline-handler.h b/shell/e-shell-offline-handler.h
index 12218a5c3e..3b70e5bd00 100644
--- a/shell/e-shell-offline-handler.h
+++ b/shell/e-shell-offline-handler.h
@@ -72,8 +72,8 @@ struct _EShellOfflineHandlerClass {
GtkType e_shell_offline_handler_get_type (void);
void e_shell_offline_handler_construct (EShellOfflineHandler *offline_handler,
- EComponentRegistry *component_registry);
-EShellOfflineHandler *e_shell_offline_handler_new (EComponentRegistry *component_registry);
+ EShell *shell);
+EShellOfflineHandler *e_shell_offline_handler_new (EShell *shell);
void e_shell_offline_handler_put_components_offline (EShellOfflineHandler *offline_handler,
EShellView *parent_shell_view);