aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-27 15:57:39 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-01-27 15:57:39 -0500
commit759793a2dda77abd227921e119bb329271c36a55 (patch)
tree248c4ba64e9464f58a64c22c69f24a294ff16a84 /src/transport-menu-item.c
parent500000a82b6785e2bf7732ee87f36c6a44d2767c (diff)
parent6b2132fb4e700fe84a26adeac5126e8afbc507b3 (diff)
downloadayatana-indicator-sound-759793a2dda77abd227921e119bb329271c36a55.tar.gz
ayatana-indicator-sound-759793a2dda77abd227921e119bb329271c36a55.tar.bz2
ayatana-indicator-sound-759793a2dda77abd227921e119bb329271c36a55.zip
Import upstream version 0.5.7
Diffstat (limited to 'src/transport-menu-item.c')
-rw-r--r--src/transport-menu-item.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/transport-menu-item.c b/src/transport-menu-item.c
index 0b43e70..9bc1eea 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.3, the Vala compiler
+/* transport-menu-item.c generated by valac 0.11.5, the Vala compiler
* generated from transport-menu-item.vala, do not modify */
/*
@@ -184,10 +184,12 @@ TransportMenuitem* transport_menuitem_new (PlayerController* parent) {
void transport_menuitem_change_play_state (TransportMenuitem* self, TransportMenuitemstate update) {
+ gint temp;
g_return_if_fail (self != NULL);
g_debug ("transport-menu-item.vala:45: UPDATING THE TRANSPORT DBUSMENUITEM PLAY " \
"STATE WITH VALUE %i", (gint) update);
- dbusmenu_menuitem_property_set_int ((DbusmenuMenuitem*) self, DBUSMENU_TRANSPORT_MENUITEM_PLAY_STATE, (gint) update);
+ temp = (gint) update;
+ dbusmenu_menuitem_property_set_int ((DbusmenuMenuitem*) self, DBUSMENU_TRANSPORT_MENUITEM_PLAY_STATE, temp);
}
@@ -224,7 +226,7 @@ static void transport_menuitem_real_handle_event (DbusmenuMenuitem* base, const
input = _tmp4_;
_tmp5_ = g_strdup_printf ("%i", input);
_tmp6_ = _tmp5_;
- g_debug ("transport-menu-item.vala:62: transport menu item -> handle_event with " \
+ g_debug ("transport-menu-item.vala:63: transport menu item -> handle_event with " \
"value %s", _tmp6_);
_g_free0 (_tmp6_);
_tmp7_ = player_item_get_owner ((PlayerItem*) self);