diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-19 16:51:38 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-08-19 16:51:38 +0000 |
commit | 8adc1d9acb001ea99937d2b8cbccb2fc4adf1ed2 (patch) | |
tree | 2d325350e2a5510a9075d207d69dc8b2f25c43d9 /src/gactionmuxer.c | |
parent | 97d88bc9bc34f0bf654281d32c3e0aab85fa0f4d (diff) | |
parent | 41bd58d41cd15a8ca8e4499b2abe945a4fe1667d (diff) | |
download | ayatana-indicator-messages-8adc1d9acb001ea99937d2b8cbccb2fc4adf1ed2.tar.gz ayatana-indicator-messages-8adc1d9acb001ea99937d2b8cbccb2fc4adf1ed2.tar.bz2 ayatana-indicator-messages-8adc1d9acb001ea99937d2b8cbccb2fc4adf1ed2.zip |
Merge in phablet branch.
Approved by PS Jenkins bot, Pete Woods.
Diffstat (limited to 'src/gactionmuxer.c')
-rw-r--r-- | src/gactionmuxer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gactionmuxer.c b/src/gactionmuxer.c index 2b1d11a..0f3cda4 100644 --- a/src/gactionmuxer.c +++ b/src/gactionmuxer.c @@ -483,3 +483,11 @@ g_action_muxer_remove (GActionMuxer *muxer, g_clear_object (&muxer->global_actions); } +GActionGroup * +g_action_muxer_get_group (GActionMuxer *muxer, + const gchar *prefix) +{ + g_return_val_if_fail (G_IS_ACTION_MUXER (muxer), NULL); + + return prefix ? g_hash_table_lookup (muxer->groups, prefix) : muxer->global_actions; +} |