diff options
Diffstat (limited to 'src/player-item.c')
-rw-r--r-- | src/player-item.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/player-item.c b/src/player-item.c index 01286a7..6133279 100644 --- a/src/player-item.c +++ b/src/player-item.c @@ -1,4 +1,4 @@ -/* player-item.c generated by valac 0.11.6, the Vala compiler +/* player-item.c generated by valac 0.11.7, the Vala compiler * generated from player-item.vala, do not modify */ /* @@ -254,7 +254,8 @@ void player_item_update (PlayerItem* self, GHashTable* data, GeeHashSet* attribu PlayerItem* _tmp12_; MetadataMenuitem* _tmp13_; MetadataMenuitem* metadata; - _tmp13_ = _g_object_ref0 ((_tmp12_ = self, IS_METADATA_MENUITEM (_tmp12_) ? ((MetadataMenuitem*) _tmp12_) : NULL)); + _tmp12_ = self; + _tmp13_ = _g_object_ref0 (IS_METADATA_MENUITEM (_tmp12_) ? ((MetadataMenuitem*) _tmp12_) : NULL); metadata = _tmp13_; metadata_menuitem_fetch_art (metadata, update, property); _g_object_unref0 (metadata); @@ -350,12 +351,10 @@ PlayerController* player_item_get_owner (PlayerItem* self) { static void player_item_set_owner (PlayerItem* self, PlayerController* value) { PlayerController* _tmp0_; - PlayerController* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = _g_object_ref0 (value); - _tmp1_ = _tmp0_; _g_object_unref0 (self->priv->_owner); - self->priv->_owner = _tmp1_; + self->priv->_owner = _tmp0_; g_object_notify ((GObject *) self, "owner"); } @@ -370,12 +369,10 @@ const gchar* player_item_get_item_type (PlayerItem* self) { static void player_item_set_item_type (PlayerItem* self, const gchar* value) { gchar* _tmp0_; - gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = g_strdup (value); - _tmp1_ = _tmp0_; _g_free0 (self->priv->_item_type); - self->priv->_item_type = _tmp1_; + self->priv->_item_type = _tmp0_; g_object_notify ((GObject *) self, "item-type"); } |