diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-01-14 10:53:50 -0600 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-01-14 10:53:50 -0600 |
commit | 500000a82b6785e2bf7732ee87f36c6a44d2767c (patch) | |
tree | fdac470fe96ff3f2f2ee1e70fcf093a8403915db /src/title-menu-item.c | |
parent | 412bffad64182bfae1e2408b89f9488f0da38481 (diff) | |
parent | 991d41fa7c9b5b51942f836ca68265513de6ef8c (diff) | |
download | ayatana-indicator-sound-500000a82b6785e2bf7732ee87f36c6a44d2767c.tar.gz ayatana-indicator-sound-500000a82b6785e2bf7732ee87f36c6a44d2767c.tar.bz2 ayatana-indicator-sound-500000a82b6785e2bf7732ee87f36c6a44d2767c.zip |
Import upstream version 0.5.6
Diffstat (limited to 'src/title-menu-item.c')
-rw-r--r-- | src/title-menu-item.c | 5 |
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; |