diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-07-12 22:07:48 +0200 |
---|---|---|
committer | Package Import Robot <package-import@ubuntu.com> | 2012-07-12 22:07:48 +0200 |
commit | 2560f7de361ca34b7b8482e30513adad21fe225b (patch) | |
tree | 03ced96344802a4e338eb53d35d1c677f8354460 /src/playlists-menu-item.c | |
parent | 01d561bf282f03825ca22533f66d72ba44fd85a9 (diff) | |
parent | 612866753e2b554abb0b448ae6a8c8ce1c2f4d87 (diff) | |
download | ayatana-indicator-sound-2560f7de361ca34b7b8482e30513adad21fe225b.tar.gz ayatana-indicator-sound-2560f7de361ca34b7b8482e30513adad21fe225b.tar.bz2 ayatana-indicator-sound-2560f7de361ca34b7b8482e30513adad21fe225b.zip |
Import upstream version 12.10.0
Diffstat (limited to 'src/playlists-menu-item.c')
-rw-r--r-- | src/playlists-menu-item.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/playlists-menu-item.c b/src/playlists-menu-item.c index a84aae4..acfc95f 100644 --- a/src/playlists-menu-item.c +++ b/src/playlists-menu-item.c @@ -1,4 +1,4 @@ -/* playlists-menu-item.c generated by valac 0.14.2, the Vala compiler +/* playlists-menu-item.c generated by valac 0.16.1, the Vala compiler * generated from playlists-menu-item.vala, do not modify */ /* @@ -153,13 +153,13 @@ void playlist_details_copy (const PlaylistDetails* self, PlaylistDetails* dest); void playlist_details_destroy (PlaylistDetails* self); void playlists_menuitem_update (PlaylistsMenuitem* self, PlaylistDetails* playlists, int playlists_length1); static Block2Data* block2_data_ref (Block2Data* _data2_); -static void block2_data_unref (Block2Data* _data2_); +static void block2_data_unref (void * _userdata_); static gboolean playlists_menuitem_already_observed (PlaylistsMenuitem* self, PlaylistDetails* new_detail); static gboolean playlists_menuitem_is_video_related (PlaylistsMenuitem* self, PlaylistDetails* new_detail); static gchar* playlists_menuitem_truncate_item_label_if_needs_be (PlaylistsMenuitem* self, const gchar* item_label); -static void ____lambda1_ (Block2Data* _data2_); +static void ____lambda3_ (Block2Data* _data2_); static void playlists_menuitem_submenu_item_activated (PlaylistsMenuitem* self, gint menu_item_id); -static void _____lambda1__dbusmenu_menuitem_item_activated (DbusmenuMenuitem* _sender, guint object, gpointer self); +static void _____lambda3__dbusmenu_menuitem_item_activated (DbusmenuMenuitem* _sender, guint arg1, gpointer self); void playlists_menuitem_update_individual_playlist (PlaylistsMenuitem* self, PlaylistDetails* new_detail); void playlists_menuitem_active_playlist_update (PlaylistsMenuitem* self, PlaylistDetails* detail); PlayerController* player_item_get_owner (PlayerItem* self); @@ -191,16 +191,20 @@ static Block2Data* block2_data_ref (Block2Data* _data2_) { } -static void block2_data_unref (Block2Data* _data2_) { +static void block2_data_unref (void * _userdata_) { + Block2Data* _data2_; + _data2_ = (Block2Data*) _userdata_; if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) { - _g_object_unref0 (_data2_->self); + PlaylistsMenuitem * self; + self = _data2_->self; _g_object_unref0 (_data2_->menuitem); + _g_object_unref0 (self); g_slice_free (Block2Data, _data2_); } } -static void ____lambda1_ (Block2Data* _data2_) { +static void ____lambda3_ (Block2Data* _data2_) { PlaylistsMenuitem * self; DbusmenuMenuitem* _tmp0_; gint _tmp1_; @@ -213,8 +217,8 @@ static void ____lambda1_ (Block2Data* _data2_) { } -static void _____lambda1__dbusmenu_menuitem_item_activated (DbusmenuMenuitem* _sender, guint object, gpointer self) { - ____lambda1_ (self); +static void _____lambda3__dbusmenu_menuitem_item_activated (DbusmenuMenuitem* _sender, guint arg1, gpointer self) { + ____lambda3_ (self); } @@ -305,7 +309,7 @@ void playlists_menuitem_update (PlaylistsMenuitem* self, PlaylistDetails* playli _tmp19_ = _data2_->menuitem; dbusmenu_menuitem_property_set_bool (_tmp19_, DBUSMENU_MENUITEM_PROP_ENABLED, TRUE); _tmp20_ = _data2_->menuitem; - g_signal_connect_data (_tmp20_, "item-activated", (GCallback) _____lambda1__dbusmenu_menuitem_item_activated, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0); + g_signal_connect_data (_tmp20_, "item-activated", (GCallback) _____lambda3__dbusmenu_menuitem_item_activated, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0); _tmp21_ = self->priv->current_playlists; _tmp22_ = _data2_->menuitem; _tmp23_ = dbusmenu_menuitem_get_id (_tmp22_); |