diff options
author | Ted Gould <ted@canonical.com> | 2009-01-21 17:07:50 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-21 17:07:50 -0600 |
commit | 862ae84aab883b05b9de1f2a73c5a10dd0515314 (patch) | |
tree | 900e5a7c5d66935ff93e0b5b68edd436a219f4f8 | |
parent | 92e30f0deb4e4ff7c6f9a3829fc9d6972b1fbcc0 (diff) | |
download | ayatana-indicator-messages-862ae84aab883b05b9de1f2a73c5a10dd0515314.tar.gz ayatana-indicator-messages-862ae84aab883b05b9de1f2a73c5a10dd0515314.tar.bz2 ayatana-indicator-messages-862ae84aab883b05b9de1f2a73c5a10dd0515314.zip |
Better debug message and getting the time callback to check for the right property
-rw-r--r-- | src/im-menu-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c index d246f01..1a80f56 100644 --- a/src/im-menu-item.c +++ b/src/im-menu-item.c @@ -131,8 +131,8 @@ time_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateL return; } - if (property == NULL || strcmp(property, "sender")) { - g_warning("Sender callback called without being send the sender."); + if (property == NULL || strcmp(property, "time")) { + g_warning("Time callback called without being sent the time. We got '%s' with value '%s'.", property, propertydata); return; } @@ -155,7 +155,7 @@ sender_cb (IndicateListener * listener, IndicateListenerServer * server, Indicat } if (property == NULL || strcmp(property, "sender")) { - g_warning("Sender callback called without being send the sender."); + g_warning("Sender callback called without being sent the sender. We got '%s' with value '%s'.", property, propertydata); return; } |