Fix args in XML interface spec, add example code to handle Register()
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 12 Jun 2012 08:36:41 +0000 (09:36 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 12 Jun 2012 08:36:41 +0000 (09:36 +0100)
commitaab5e8f5e239a57886c7017ad33f5f26fcb06151
tree6bb37e606f97895a8538227ced9b30c5abdec678
parenta7dea176a83f1adcefd7d823bc65342824db8cca
Fix args in XML interface spec, add example code to handle Register()

The XML element name for D-Bus method parameters is "arg", not "param".

luc_handler_service_handle_register() now has a "GVariant *apps"
parameter and reads/prints the foreground apps that are passed to it.
This is just example code to demonstrate how this can be done. It
will later be replaced with the real implementation.
luc-handler/luc-handler-dbus.xml
luc-handler/luc-handler-service.c