diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-01-24 17:29:31 -0600 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-01-24 17:29:31 -0600 |
commit | 729ff587783dcf571b4a94132b57bce695a5e30f (patch) | |
tree | db454dd51efa8d226389e00a42f1d189751f89ba /src/sound-service-dbus.c | |
parent | eb2c1d7fc7ba7f8d2ae35141b2bf13ef69795b1d (diff) | |
download | ayatana-indicator-sound-729ff587783dcf571b4a94132b57bce695a5e30f.tar.gz ayatana-indicator-sound-729ff587783dcf571b4a94132b57bce695a5e30f.tar.bz2 ayatana-indicator-sound-729ff587783dcf571b4a94132b57bce695a5e30f.zip |
compiling ...
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r-- | src/sound-service-dbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index 176ea87..ad4ac71 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -331,8 +331,8 @@ void sound_service_dbus_update_sound_state (SoundServiceDbus* self, static SoundState sound_service_dbus_get_state_from_volume (SoundServiceDbus* self) { SoundServiceDbusPrivate *priv = SOUND_SERVICE_DBUS_GET_PRIVATE (self); - GVariant* v = dbusmenu_menuitem_get_variant (DBUSMENU_MENUITEM(priv->volume_menuitem), - DBUSMENU_VOLUME_MENUITEM_LEVEL); + GVariant* v = dbusmenu_menuitem_property_get_variant (DBUSMENU_MENUITEM(priv->volume_slider_menuitem), + DBUSMENU_VOLUME_MENUITEM_LEVEL); gdouble volume_percent = g_variant_get_double (v); SoundState state = LOW_LEVEL; |