aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}