From 04330f7cb3aa764c993ea31377e60b7de44d679f Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Mon, 2 Jan 2006 05:58:14 +0000 Subject: Remove suspicious and possibly redundant register/unregister calls. Fixes 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). svn path=/trunk/; revision=31014 --- shell/ChangeLog | 7 +++++++ shell/e-shell-nm-glib.c | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'shell') 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; -- cgit