gdbus-codegen: Fix crasher in goa-using apps
authorBastien Nocera <hadess@hadess.net>
Mon, 16 Dec 2013 16:21:41 +0000 (17:21 +0100)
committerBastien Nocera <hadess@hadess.net>
Wed, 18 Dec 2013 09:53:01 +0000 (10:53 +0100)
commitc300079f1320b8522a4885987fd2443c171ec629
treead20d90cab0ba877d7da69b81a207025a1dac3fd
parentd33f72097fa21aade43e273d049e2a7105e99ad5
gdbus-codegen: Fix crasher in goa-using apps

When replacing a version of goa-daemon (from gnome-online-accounts)
by a newer version with some added interfaces, evolution-data-server
and the gvfs-goa volume monitor might crash as there's no interface
definition for this new interface.

Work-around this by returning earlier from the _notify() implementation,
rather than accessing invalid memory.

https://bugzilla.gnome.org/show_bug.cgi?id=720539
gio/gdbus-2.0/codegen/codegen.py