diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-10-04 14:37:03 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-10-15 16:19:09 +0100 |
commit | d7b6d8b61f9e7810d4dcd318d71f47526ac1eb6e (patch) | |
tree | ab2cea8593eebb547a297c4a9794b25d86315c8e | |
parent | a61414adee496564f5aabf27f239cc353288cdf5 (diff) |
DBusPropertiesMixin: Improve undefined interface message
I constantly forget to do this, and it takes me ages to figure out what
I'm doing wrong. Typically I faff around checking the codegen stuff,
make clean and rebuild a few times, grep for what's done for other
interfaces, and then finally remember.
Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | telepathy-glib/dbus-properties-mixin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/dbus-properties-mixin.c b/telepathy-glib/dbus-properties-mixin.c index a304f51e8..c6e972e5a 100644 --- a/telepathy-glib/dbus-properties-mixin.c +++ b/telepathy-glib/dbus-properties-mixin.c @@ -362,7 +362,8 @@ link_interface (GType type, if (iface_info == NULL) { - CRITICAL ("%s tried to implement undefined interface %s", + CRITICAL ("%s tried to implement undefined interface %s " + "(perhaps you forgot to call G_IMPLEMENT_INTERFACE?)", g_type_name (type), iface_impl->name); return FALSE; } |