# HG changeset patch # User nenolod # Date 1154677741 25200 # Node ID ccf8931ff0bd3d7d87d81ff766ca9ed0706946f5 # Parent ded11c19cc0a47fe06332ce97af70089bd592730 [svn] - don't crash if there's no available tuple diff -r ded11c19cc0a -r ccf8931ff0bd ChangeLog --- a/ChangeLog Thu Aug 03 22:54:57 2006 -0700 +++ b/ChangeLog Fri Aug 04 00:49:01 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-04 05:54:57 +0000 William Pitcock + revision [1894] + - do things in a less hackish way + + + Changes: Modified: + +6 -6 trunk/Plugins/General/notify/notify.c + + 2006-08-04 05:54:05 +0000 William Pitcock revision [1892] - use tuples (and build tuples if they aren't there :P) diff -r ded11c19cc0a -r ccf8931ff0bd Plugins/General/notify/notify.c --- a/Plugins/General/notify/notify.c Thu Aug 03 22:54:57 2006 -0700 +++ b/Plugins/General/notify/notify.c Fri Aug 04 00:49:01 2006 -0700 @@ -62,6 +62,9 @@ tuple = playlist_get_tuple(pos); + if (tuple == NULL) + return; + tmpbuf = g_strdup_printf("%s\n%s\n%s", tuple->performer, tuple->album_name,