# HG changeset patch # User nenolod # Date 1166246056 28800 # Node ID dd29f8fd029da68571f37be46c1b6df5c48f7bb6 # Parent 1cc6ae153b678bbf6df7dbdf677fba38e88e8c47 [svn] - log a warning if deprecated functions from <= 1.2 are used diff -r 1cc6ae153b67 -r dd29f8fd029d ChangeLog --- a/ChangeLog Fri Dec 15 20:33:34 2006 -0800 +++ b/ChangeLog Fri Dec 15 21:14:16 2006 -0800 @@ -1,3 +1,12 @@ +2006-12-16 04:33:34 +0000 William Pitcock + revision [3273] + - use g_object_ref() on the list store when we disassociate to make + sure it isn't garbage collected + + trunk/audacious/mainwin.c | 2 ++ + 1 file changed, 2 insertions(+) + + 2006-12-16 04:20:46 +0000 William Pitcock revision [3271] - while building the jump to file list, disassociate the GtkListStore diff -r 1cc6ae153b67 -r dd29f8fd029d audacious/playlist.c --- a/audacious/playlist.c Fri Dec 15 20:33:34 2006 -0800 +++ b/audacious/playlist.c Fri Dec 15 21:14:16 2006 -0800 @@ -1624,6 +1624,8 @@ GList * get_playlist_nth(Playlist *playlist, guint nth) { + g_warning("deprecated function get_playlist_nth() was called"); + REQUIRE_STATIC_LOCK(playlists); return g_list_nth(playlist->entries, nth); } @@ -1632,6 +1634,8 @@ GList * playlist_get(void) { + g_warning("deprecated function playlist_get() was called"); + REQUIRE_STATIC_LOCK(playlists); return playlist_get_active()->entries; }