From 1bed00795bf092ad6e9e076eccf7cc2a8c20cb27 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 6 Oct 2008 17:41:31 +0000 Subject: Baseline cut at the Calendar sidebar and module. Pretty much identical to Tasks and Memos so far. Now for the interesting part... svn path=/branches/kill-bonobo/; revision=36573 --- shell/e-shell-nm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-nm.c') diff --git a/shell/e-shell-nm.c b/shell/e-shell-nm.c index 163be242c6..930e80f124 100644 --- a/shell/e-shell-nm.c +++ b/shell/e-shell-nm.c @@ -48,7 +48,8 @@ reinit_dbus (EShell *shell) static DBusHandlerResult e_shell_network_monitor (DBusConnection *connection G_GNUC_UNUSED, - DBusMessage *message, void *user_data) + DBusMessage *message, + gpointer user_data) { DBusError error; const gchar *object; @@ -60,7 +61,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") && - object && !strcmp (object, DBUS_PATH_LOCAL)) { + object != NULL && strcmp (object, DBUS_PATH_LOCAL) == 0) { dbus_connection_unref (dbus_connection); dbus_connection = NULL; -- cgit v1.2.3