Ryan Lortie
7af08e1fc0
action exporter: use GSource* instead of source id
...
Keep track of the GSource* of our event dispatch idle instead of using
source ID.
2011-12-08 18:05:15 -05:00
Ryan Lortie
64e3e10c98
action exporter: cancel pending events on unexport
...
If there are events pending when we unexport the action group, free them
and cancel the pending idle.
2011-12-08 18:05:15 -05:00
Ryan Lortie
4f2c207745
menu/action exporter docs fixup
2011-12-08 18:05:14 -05:00
Ryan Lortie
f7886d6adb
Action group exporter: clean up the API
...
Make it look more like a typical GDBusConnection API with integer
registration ID and corresponding unexport call. Kill the 'query' call.
2011-12-08 18:05:14 -05:00
Matthias Clasen
5002cb2935
Make stopping an action group export work
2011-12-08 18:05:13 -05:00
Matthias Clasen
cd22e1967d
Describe the org.gtk.Actions interface
...
Even though we consider the interface to be an implementation
detail, we should have internal documentation for the interface.
2011-12-08 18:05:12 -05:00
Matthias Clasen
db34b1aebe
Rename exporter APIs
...
There are no public 'exporter' objects, so don't allude to them
in the function names. At the same time, we want to make it clear
that these functions are D-Bus specific.
The new APIs are
g_action_group_dbus_export_start
g_action_group_dbus_export_query
g_action_group_dbus_export_stop
g_menu_model_dbus_export_start
g_menu_model_dbus_export_query
g_menu_model_dbus_export_stop
2011-12-08 18:05:12 -05:00
Ryan Lortie
940ec94f0a
Add GActionGroup D-Bus exporter
2011-12-08 18:05:12 -05:00