evolution/bnc-173186.patch

17 lines
656 B
Diff

Index: shell/e-shell-nm.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell-nm.c,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 e-shell-nm.c
--- shell/e-shell-nm.c 19 Apr 2006 21:14:44 -0000 1.1.2.2
+++ shell/e-shell-nm.c 17 May 2006 18:55:43 -0000
@@ -73,7 +73,7 @@
object = dbus_message_get_path (message);
if (dbus_message_is_signal (message, DBUS_INTERFACE_LOCAL, "Disconnected") &&
- strcmp (dbus_message_get_path (message), DBUS_PATH_LOCAL) == 0) {
+ object && !strcmp (object, DBUS_PATH_LOCAL)) {
dbus_connection_unref (dbus_connection);
dbus_connection = NULL;