Skip to content
Commit faddc8da authored by Simon McVittie's avatar Simon McVittie
Browse files

utils: Add fallback definition for G_DBUS_METHOD_INVOCATION_HANDLED



When implementing GDBus methods, it's not always obvious that
"return TRUE" on error is correct - but in fact it is, because the
boolean result is handled/unhandled rather than the usual success/error.
GLib 2.68 introduced macros to make this more obvious. Backport them
here for older GLib versions.

I'm not systematically converting existing code right now, but the new
macros can be used in new code.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 57496616
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment