diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-03-17 14:08:16 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-03-17 14:08:16 -0400 |
commit | 7619eab48daaa739fb3418237c693b7b463182f0 (patch) | |
tree | 0f87b54f1425f9228c950d906eba75173fa19f6a /src/transport-menu-item.c | |
parent | a65cff5ec2d7625408d58fe6b23ddb40d7f63ee2 (diff) | |
parent | 6de8affd0a17ab7729ac7647d8e84e58a158601a (diff) | |
download | ayatana-indicator-sound-7619eab48daaa739fb3418237c693b7b463182f0.tar.gz ayatana-indicator-sound-7619eab48daaa739fb3418237c693b7b463182f0.tar.bz2 ayatana-indicator-sound-7619eab48daaa739fb3418237c693b7b463182f0.zip |
Import upstream version 0.6.4
Diffstat (limited to 'src/transport-menu-item.c')
-rw-r--r-- | src/transport-menu-item.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/transport-menu-item.c b/src/transport-menu-item.c index 0cc2850..df1cc14 100644 --- a/src/transport-menu-item.c +++ b/src/transport-menu-item.c @@ -1,4 +1,4 @@ -/* transport-menu-item.c generated by valac 0.11.6, the Vala compiler +/* transport-menu-item.c generated by valac 0.11.7, the Vala compiler * generated from transport-menu-item.vala, do not modify */ /* @@ -162,9 +162,9 @@ static void transport_menuitem_real_handle_event (DbusmenuMenuitem* base, const GVariant* _tmp0_; GVariant* v; gboolean _tmp1_; - gint32 _tmp4_; + gint32 _tmp3_; gint32 input; - PlayerController* _tmp5_ = NULL; + PlayerController* _tmp4_ = NULL; self = (TransportMenuitem*) base; g_return_if_fail (name != NULL); g_return_if_fail (input_value != NULL); @@ -173,16 +173,14 @@ static void transport_menuitem_real_handle_event (DbusmenuMenuitem* base, const _tmp1_ = g_variant_is_of_type (input_value, G_VARIANT_TYPE_VARIANT); if (_tmp1_) { GVariant* _tmp2_ = NULL; - GVariant* _tmp3_; _tmp2_ = g_variant_get_variant (input_value); - _tmp3_ = _tmp2_; _g_variant_unref0 (v); - v = _tmp3_; + v = _tmp2_; } - _tmp4_ = g_variant_get_int32 (v); - input = _tmp4_; - _tmp5_ = player_item_get_owner ((PlayerItem*) self); - mpris2_controller_transport_update (_tmp5_->mpris_bridge, (TransportAction) input); + _tmp3_ = g_variant_get_int32 (v); + input = _tmp3_; + _tmp4_ = player_item_get_owner ((PlayerItem*) self); + mpris2_controller_transport_update (_tmp4_->mpris_bridge, (TransportAction) input); _g_variant_unref0 (v); } |