aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport-menu-item.c')
-rw-r--r--src/transport-menu-item.c18
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);
}