diff options
author | Christian Persch <chpe@gnome.org> | 2010-05-10 12:55:17 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-25 07:38:30 (GMT) |
commit | f9e5408ac68703a89c556a1bcb394a8c67498cca (patch) | |
tree | 061137a465451ff3271dbdef3cae1d4532113c89 /shell | |
parent | 5bd752a3831fbb99cdcef0055707bd624fb9e30c (diff) |
[daemon] Add debug output to name watcher
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-daemon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c index b30238a..c44f8a8 100644 --- a/shell/ev-daemon.c +++ b/shell/ev-daemon.c @@ -211,6 +211,7 @@ name_appeared_cb (GDBusConnection *connection, const gchar *name_owner, gpointer user_data) { + LOG ("Watch name'%s' appeared with owner '%s'\n", name, name_owner); } static void @@ -220,12 +221,16 @@ name_vanished_cb (GDBusConnection *connection, { GList *l; + LOG ("Watch name'%s' disappeared\n", name); + for (l = ev_daemon_docs; l != NULL; l = l->next) { EvDoc *doc = (EvDoc *) l->data; if (strcmp (doc->dbus_name, name) != 0) continue; + LOG ("Watch found URI '%s' for name; removing\n", doc->uri); + ev_daemon_docs = g_list_delete_link (ev_daemon_docs, l); ev_doc_free (doc); |