diff --git a/shell/ChangeLog b/shell/ChangeLog index bc831f758a..27d81f3a1c 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2006-01-02 Harish Krishnaswamy + + * e-shell-nm-glib.c: (e_shell_nm_glib_initialise): + Remove suspicious and possibly redundant + register/unregister calls. Fixes #325364 (critical + warning crasher). + 2005-12-30 Andre Klapper * shell.error.xml: removed a typo. yeah. diff --git a/shell/e-shell-nm-glib.c b/shell/e-shell-nm-glib.c index 8b4461244b..8ebb0b7eff 100644 --- a/shell/e-shell-nm-glib.c +++ b/shell/e-shell-nm-glib.c @@ -69,9 +69,6 @@ int e_shell_nm_glib_initialise (EShellWindow *window ) return FALSE; } - id = libnm_glib_register_callback (ctx, e_shell_glib_network_monitor, window, NULL); - libnm_glib_unregister_callback (ctx, id); - id = libnm_glib_register_callback (ctx, e_shell_glib_network_monitor, window, NULL); return TRUE;