Revision: 2049
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2049&view=rev
Author: jcsjcs
Date: 2008-07-16 23:43:38 +0000 (Wed, 16 Jul 2008)
Log Message:
-----------
* src/display_playlists.c (pm_get_iter_for_playlist): remove
assertion (pl!=NULL) that is no longer valid with the
introduction of the "Photo" entity. Should take care of the
segfaults when removing a playlist listed after the Photo
entity.
Modified Paths:
--------------
gtkpod/trunk/ChangeLog
gtkpod/trunk/src/display_playlists.c
Modified: gtkpod/trunk/ChangeLog
===================================================================
--- gtkpod/trunk/ChangeLog 2008-07-14 23:06:53 UTC (rev 2048)
+++ gtkpod/trunk/ChangeLog 2008-07-16 23:43:38 UTC (rev 2049)
@@ -1,3 +1,11 @@
+2008-07-06 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+ * src/display_playlists.c (pm_get_iter_for_playlist): remove
+ assertion (pl!=NULL) that is no longer valid with the
+ introduction of the "Photo" entity. Should take care of the
+ segfaults when removing a playlist listed after the Photo
+ entity.
+
2008-07-14 Todd Zullinger <tmzullinger at users.sourceforge.net>
* scripts/sync-evolution.sh
Modified: gtkpod/trunk/src/display_playlists.c
===================================================================
--- gtkpod/trunk/src/display_playlists.c 2008-07-14 23:06:53 UTC (rev
2048)
+++ gtkpod/trunk/src/display_playlists.c 2008-07-16 23:43:38 UTC (rev
2049)
@@ -1092,7 +1092,7 @@
gtk_tree_model_get (model, &itdb_iter,
PM_COLUMN_PLAYLIST, &pl,
-1);
- g_return_val_if_fail (pl, FALSE);
+
if (pl == playlist)
{
*pl_iter = itdb_iter;
@@ -1111,7 +1111,7 @@
gtk_tree_model_get (model, pl_iter,
PM_COLUMN_PLAYLIST, &pl,
-1);
- g_return_val_if_fail (pl, FALSE);
+
if (pl == playlist)
{
return TRUE;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2