aboutsummaryrefslogtreecommitdiff
path: root/src/mute-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-02-18 13:05:58 +0000
committerConor Curran <conor.curran@canonical.com>2011-02-18 13:05:58 +0000
commitd8cc480485f8f46142298341ef5336a0572be5b4 (patch)
tree80f848454f6bc39384d9eb58e9b4f5c03ce337ba /src/mute-menu-item.c
parent8263f9aed8c1c66cfe7a7749a4d78c096165acd3 (diff)
downloadayatana-indicator-sound-d8cc480485f8f46142298341ef5336a0572be5b4.tar.gz
ayatana-indicator-sound-d8cc480485f8f46142298341ef5336a0572be5b4.tar.bz2
ayatana-indicator-sound-d8cc480485f8f46142298341ef5336a0572be5b4.zip
all working nicely, custom mute behaviour needed
Diffstat (limited to 'src/mute-menu-item.c')
-rw-r--r--src/mute-menu-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mute-menu-item.c b/src/mute-menu-item.c
index 8409b9f..2876be3 100644
--- a/src/mute-menu-item.c
+++ b/src/mute-menu-item.c
@@ -61,6 +61,7 @@ mute_menu_item_init (MuteMenuItem *self)
{
g_debug("Building new Mute Menu Item");
MuteMenuItemPrivate* priv = MUTE_MENU_ITEM_GET_PRIVATE(self);
+ priv->button = NULL;
priv->button = dbusmenu_menuitem_new();
dbusmenu_menuitem_property_set_bool (priv->button,
DBUSMENU_MENUITEM_PROP_VISIBLE,