aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
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.c
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.c')
-rw-r--r--shell/e-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 73734c346d..ff227dbb23 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1921,7 +1921,7 @@ e_shell_go_offline (EShell *shell,
g_assert (priv->offline_handler == NULL);
- priv->offline_handler = e_shell_offline_handler_new (priv->component_registry);
+ priv->offline_handler = e_shell_offline_handler_new (shell);
gtk_signal_connect (GTK_OBJECT (priv->offline_handler), "offline_procedure_started",
GTK_SIGNAL_FUNC (offline_procedure_started_cb), shell);