aboutsummaryrefslogtreecommitdiff
path: root/src/player-item.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-03-17 14:08:16 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-03-17 14:08:16 -0400
commit7619eab48daaa739fb3418237c693b7b463182f0 (patch)
tree0f87b54f1425f9228c950d906eba75173fa19f6a /src/player-item.c
parenta65cff5ec2d7625408d58fe6b23ddb40d7f63ee2 (diff)
parent6de8affd0a17ab7729ac7647d8e84e58a158601a (diff)
downloadayatana-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/player-item.c')
-rw-r--r--src/player-item.c13
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");
}