Commit d1c458f9 authored by Lars Uebernickel's avatar Lars Uebernickel Committed by Allison Karlitskaya

GActionMuxer: add support for parent muxers

If a muxer does not contain an action group with the given prefix, chain
up to the "parent" muxer to look for it.

This initial implementation is rather inefficient.  It will lead to
changes on action groups associated with parent muxers being broadcast
to all children (regardless of if anybody there is interested or not).
An optimised version will follow soon.
parent 6b7eaf86
This diff is collapsed.
......@@ -46,6 +46,13 @@ G_GNUC_INTERNAL
void g_action_muxer_remove (GActionMuxer *muxer,
const gchar *prefix);
GActionMuxer * g_action_muxer_get_parent (GActionMuxer *muxer);
void g_action_muxer_set_parent (GActionMuxer *muxer,
GActionMuxer *parent);
#endif /* __G_ACTION_MUXER_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment