aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-nm-glib.c
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@novell.com>2006-01-02 13:58:14 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-01-02 13:58:14 +0800
commit04330f7cb3aa764c993ea31377e60b7de44d679f (patch)
treef8828d3910f31639f4dbf1864e1c40371fc23ff8 /shell/e-shell-nm-glib.c
parent6d8453bf8d9f8fb50cedf4f8971602261956daa8 (diff)
downloadgsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar
gsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar.gz
gsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar.bz2
gsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar.lz
gsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar.xz
gsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar.zst
gsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.zip
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
Diffstat (limited to 'shell/e-shell-nm-glib.c')
-rw-r--r--shell/e-shell-nm-glib.c3
1 files changed, 0 insertions, 3 deletions
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
@@ -70,9 +70,6 @@ int e_shell_nm_glib_initialise (EShellWindow *window )
}
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;
}