projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8095793
)
* Print the references for the transport accounts as well
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 9 Apr 2008 10:06:44 +0000
(10:06 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 9 Apr 2008 10:06:44 +0000
(10:06 +0000)
pmo-trunk-r4386
src/dbus_api/modest-dbus-callbacks.c
patch
|
blob
|
history
diff --git
a/src/dbus_api/modest-dbus-callbacks.c
b/src/dbus_api/modest-dbus-callbacks.c
index
739bffb
..
525d719
100644
(file)
--- a/
src/dbus_api/modest-dbus-callbacks.c
+++ b/
src/dbus_api/modest-dbus-callbacks.c
@@
-969,8
+969,8
@@
on_dbus_method_dump_accounts (DBusConnection *con, DBusMessage *message)
TNY_ACCOUNT_TYPE_TRANSPORT);
if (TNY_IS_ACCOUNT(acc)) {
gchar *tmp, *url = tny_account_get_url_string (acc);
- tmp = g_strdup_printf ("%stransport: '%s': %s\n",
- str, tny_account_get_id (acc), url);
+ tmp = g_strdup_printf ("%stransport: '%s': %s (refs: %d)\n",
+ str, tny_account_get_id (acc), url, ((GObject*)acc)->ref_count);
g_free (str);
str = tmp;
g_free (url);