Remove suspicious and possibly redundant register/unregister calls. Fixes

2006-01-02  Harish Krishnaswamy  <kharish@novell.com>

* e-shell-nm-glib.c: (e_shell_nm_glib_initialise):
Remove suspicious and possibly redundant
register/unregister calls. Fixes #325364 (critical
warning crasher).

svn path=/trunk/; revision=31014
This commit is contained in:
Harish Krishnaswamy
2006-01-02 05:58:14 +00:00
committed by Harish Krishnaswamy
parent 6d8453bf8d
commit 04330f7cb3
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2006-01-02 Harish Krishnaswamy <kharish@novell.com>
* 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 <a9016009@gmx.de>
* shell.error.xml: removed a typo. yeah.

View File

@ -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;