Skip to content
Commit 0c506f20 authored by David Zeuthen's avatar David Zeuthen
Browse files

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: default avatarDavid Zeuthen <davidz@redhat.com>
parent 57dff1e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment