From 1a40acf554290883d6cf2a491dc36685842fd26b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 19 Feb 2009 06:22:32 +0000 Subject: Documentation tweaks. Have e_shell_get_preferences_window() take an EShell argument. svn path=/branches/kill-bonobo/; revision=37294 --- calendar/modules/e-cal-shell-module.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/modules/e-cal-shell-module.c') diff --git a/calendar/modules/e-cal-shell-module.c b/calendar/modules/e-cal-shell-module.c index 0fa0336177..740f755e85 100644 --- a/calendar/modules/e-cal-shell-module.c +++ b/calendar/modules/e-cal-shell-module.c @@ -431,8 +431,10 @@ static void cal_module_init_preferences (void) { GtkWidget *preferences_window; + EShell *shell; - preferences_window = e_shell_get_preferences_window (); + shell = e_shell_get_default (); + preferences_window = e_shell_get_preferences_window (shell); e_preferences_window_add_page ( E_PREFERENCES_WINDOW (preferences_window), -- cgit v1.2.3