changeset 2135:dd29f8fd029d trunk

[svn] - log a warning if deprecated functions from <= 1.2 are used
author nenolod
date Fri, 15 Dec 2006 21:14:16 -0800
parents 1cc6ae153b67
children 7ce26ebe8b6a
files ChangeLog audacious/playlist.c
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <nenolod@nenolod.net>
+  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 <nenolod@nenolod.net>
   revision [3271]
   - while building the jump to file list, disassociate the GtkListStore 
--- 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;
 }