aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-nm.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-02-18 12:34:05 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-02-18 12:34:05 +0800
commitbc2c2171c4156afa09a5d557a8d79852c2c610f6 (patch)
tree630025d1bdee1114b79fc9d7a2d04d9d717f3209 /shell/e-shell-nm.c
parent6802474cc247c1be784e4d8ac33d14a6ff4d5e5b (diff)
downloadgsoc2013-evolution-bc2c2171c4156afa09a5d557a8d79852c2c610f6.tar.gz
gsoc2013-evolution-bc2c2171c4156afa09a5d557a8d79852c2c610f6.tar.zst
gsoc2013-evolution-bc2c2171c4156afa09a5d557a8d79852c2c610f6.zip
** Fix for bnc #173186
2008-02-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bnc #173186 * e-shell-nm.c: (e_shell_network_monitor): Upstreamed Fejj's OpenSUSE patch. Crash while quitting. svn path=/trunk/; revision=35038
Diffstat (limited to 'shell/e-shell-nm.c')
-rw-r--r--shell/e-shell-nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-nm.c b/shell/e-shell-nm.c
index d973a26b22..65b9812632 100644
--- a/shell/e-shell-nm.c
+++ b/shell/e-shell-nm.c
@@ -79,7 +79,7 @@ e_shell_network_monitor (DBusConnection *connection G_GNUC_UNUSED,
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;