diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-02-18 17:11:08 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-02-18 17:11:08 +0000 |
commit | 80afbbce02c5d31fc4375b84c8647628333b7cc2 (patch) | |
tree | 42f29be398ca6f4fcdaaef3da2089145bdd6fbd5 /src/voip-input-menu-item.c | |
parent | 9a424c26c67544aafdd7cff2d66519b1c72e8aa0 (diff) | |
download | ayatana-indicator-sound-80afbbce02c5d31fc4375b84c8647628333b7cc2.tar.gz ayatana-indicator-sound-80afbbce02c5d31fc4375b84c8647628333b7cc2.tar.bz2 ayatana-indicator-sound-80afbbce02c5d31fc4375b84c8647628333b7cc2.zip |
the last bug really
Diffstat (limited to 'src/voip-input-menu-item.c')
-rw-r--r-- | src/voip-input-menu-item.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/voip-input-menu-item.c b/src/voip-input-menu-item.c index b98be8d..a742654 100644 --- a/src/voip-input-menu-item.c +++ b/src/voip-input-menu-item.c @@ -199,6 +199,13 @@ voip_input_menu_item_is_interested (VoipInputMenuItem* item, return TRUE; } +gboolean +voip_input_menu_item_is_active (VoipInputMenuItem* item) +{ + VoipInputMenuItemPrivate* priv = VOIP_INPUT_MENU_ITEM_GET_PRIVATE (item); + return (priv->sink_input_index != NOT_ACTIVE && priv->client_index != NOT_ACTIVE); +} + gboolean voip_input_menu_item_is_populated (VoipInputMenuItem* item) |