GDBus: Complain via g_warning() if an invalid message is received
authorDavid Zeuthen <davidz@redhat.com>
Thu, 17 Jun 2010 20:09:12 +0000 (16:09 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 17 Jun 2010 20:12:46 +0000 (16:12 -0400)
commit0c506f200a60124197e8c20507a86516bb950ec4
treecba8466949f9468c4ef4fd0275c0458e3303b65f
parent57dff1e06011347cc11492a36dc187cbcf5eece8
GDBus: Complain via g_warning() if an invalid message is received

While we are already propagating the error to the user via the
GDBusConnection::disconnected signal (because the only safe thing is
to disconnect the other peer), changes are the user is simply not
listening to this signal.

This should never ever happen unless there's a bug in the
serializaer/deserializer so it's fine to complain via g_warning()
here.

Bug 621838, see

 https://bugzilla.gnome.org/show_bug.cgi?id=621838

is related to this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusprivate.c