GNOME Bugzilla – Bug 779652
non failable dbus methods trigger client-side errors
Last modified: 2018-02-12 09:11:43 UTC
Because there is no given GError** argument, generated code may wrongly use an "error" variable that doesn't really exist. Adding patches to test/fix this.
Created attachment 347312 [details] [review] tests: Extend dbus-arguments test to include non-"failable" dbus methods Those break in C generated code when using a GError** variable that is not there.
Created attachment 347313 [details] [review] codegen: Check there is a return error location before using it Fixes client-side dbus generation on methods that don't throw any error.
Attachment 347313 [details] pushed as 379a7b1 - codegen: Check there is a return error location before using it
*** Bug 643787 has been marked as a duplicate of this bug. ***