2007-12-19 14:45:48 +01:00
|
|
|
=== modified file 'shell/e-shell-nm.c'
|
|
|
|
--- shell/e-shell-nm.c 2007-12-18 20:28:43 +0000
|
|
|
|
+++ shell/e-shell-nm.c 2007-12-18 20:30:19 +0000
|
|
|
|
@@ -68,11 +68,17 @@
|
2007-01-09 17:43:57 +01:00
|
|
|
DBusError error;
|
|
|
|
const char *object;
|
|
|
|
ShellLineStatus status;
|
|
|
|
- EShellWindow *window = E_SHELL_WINDOW (user_data);
|
|
|
|
- EShell *shell = e_shell_window_peek_shell ((EShellWindow *) user_data);
|
|
|
|
+ EShellWindow *window = NULL;
|
|
|
|
+ EShell *shell = NULL;
|
|
|
|
GNOME_Evolution_ShellState shell_state;
|
|
|
|
EShellLineStatus line_status;
|
2007-12-19 14:45:48 +01:00
|
|
|
|
|
|
|
+ if (!user_data || !E_IS_SHELL_WINDOW (user_data))
|
|
|
|
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
|
|
|
|
+
|
|
|
|
+ window = E_SHELL_WINDOW (user_data);
|
|
|
|
+ shell = e_shell_window_peek_shell (window);
|
2007-01-09 17:43:57 +01:00
|
|
|
+
|
|
|
|
dbus_error_init (&error);
|
|
|
|
object = dbus_message_get_path (message);
|
|
|
|
|
2007-12-19 14:45:48 +01:00
|
|
|
|