aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-01-14 11:09:26 -0600
committerKen VanDine <ken.vandine@canonical.com>2011-01-14 11:09:26 -0600
commit603ecf78d1f2e897ac60ecf585569c8758fe5d1e (patch)
tree9167ca38ac270c15ebf7be5d51ed56d714c1fdc6 /src/title-menu-item.c
parentf4f168553cc7fc9ed09f76c805694abfcad70870 (diff)
parent500000a82b6785e2bf7732ee87f36c6a44d2767c (diff)
downloadayatana-indicator-sound-603ecf78d1f2e897ac60ecf585569c8758fe5d1e.tar.gz
ayatana-indicator-sound-603ecf78d1f2e897ac60ecf585569c8758fe5d1e.tar.bz2
ayatana-indicator-sound-603ecf78d1f2e897ac60ecf585569c8758fe5d1e.zip
releasing version 0.5.6-0ubuntu1
Diffstat (limited to 'src/title-menu-item.c')
-rw-r--r--src/title-menu-item.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/title-menu-item.c b/src/title-menu-item.c
index d8130a0..b099abe 100644
--- a/src/title-menu-item.c
+++ b/src/title-menu-item.c
@@ -131,7 +131,7 @@ TitleMenuitem* title_menuitem_new (PlayerController* parent);
TitleMenuitem* title_menuitem_construct (GType object_type, PlayerController* parent);
GAppInfo* player_controller_get_app_info (PlayerController* self);
const gchar* player_controller_get_icon_name (PlayerController* self);
-static void title_menuitem_real_handle_event (DbusmenuMenuitem* base, const gchar* name, GValue* input_value, guint timestamp);
+static void title_menuitem_real_handle_event (DbusmenuMenuitem* base, const gchar* name, GVariant* input_value, guint timestamp);
PlayerController* player_item_get_owner (PlayerItem* self);
GType mpris2_controller_get_type (void) G_GNUC_CONST;
GType player_controller_state_get_type (void) G_GNUC_CONST;
@@ -163,11 +163,12 @@ TitleMenuitem* title_menuitem_new (PlayerController* parent) {
}
-static void title_menuitem_real_handle_event (DbusmenuMenuitem* base, const gchar* name, GValue* input_value, guint timestamp) {
+static void title_menuitem_real_handle_event (DbusmenuMenuitem* base, const gchar* name, GVariant* input_value, guint timestamp) {
TitleMenuitem * self;
PlayerController* _tmp0_ = NULL;
self = (TitleMenuitem*) base;
g_return_if_fail (name != NULL);
+ g_return_if_fail (input_value != NULL);
_tmp0_ = player_item_get_owner ((PlayerItem*) self);
if (_tmp0_->current_state == PLAYER_CONTROLLER_STATE_OFFLINE) {
PlayerController* _tmp1_ = NULL;