[telepathy-mission-control/master] mcd-account: give a better warning message when get_parameter doesn't know the GType
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Sep 14 11:09:21 PDT 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
src/mcd-account.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 5d12527..71a14a3 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -740,9 +740,8 @@ get_parameter (McdAccount *account, const gchar *name,
}
else
{
- g_warning ("%s: skipping parameter %s, unknown type %s",
- G_STRFUNC, name,
- value ? G_VALUE_TYPE_NAME (value) : "(null)");
+ g_warning ("%s: cannot get property %s, unknown type %s",
+ G_STRFUNC, name, g_type_name (type));
goto error;
}
}
--
1.5.6.5
More information about the telepathy-commits
mailing list