aboutsummaryrefslogtreecommitdiffstats
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
parent6d8453bf8d9f8fb50cedf4f8971602261956daa8 (diff)
downloadgsoc2013-evolution-04330f7cb3aa764c993ea31377e60b7de44d679f.tar.gz
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
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-nm-glib.c3
2 files changed, 7 insertions, 3 deletions
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 <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.
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;
}