diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-07 01:41:31 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-07 01:41:31 +0800 |
commit | 1bed00795bf092ad6e9e076eccf7cc2a8c20cb27 (patch) | |
tree | 1479219994e81557af0c8041fa170f95064e541f /shell | |
parent | 3c9c7a2ac1864cd7cf3b72737e0577612e672b01 (diff) | |
download | gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.tar gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.tar.gz gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.tar.bz2 gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.tar.lz gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.tar.xz gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.tar.zst gsoc2013-evolution-1bed00795bf092ad6e9e076eccf7cc2a8c20cb27.zip |
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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-nm.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |