diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/modules/e-cal-shell-module.c | 4 |
1 files changed, 3 insertions, 1 deletions
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), |