Revision: 2303
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2303&view=rev
Author: teuf
Date: 2009-04-05 15:40:27 +0000 (Sun, 05 Apr 2009)
Log Message:
-----------
Rename var shadowing a parameter, patch from Erik Hovland
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/src/itdb_thumb.c
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2009-04-04 14:47:45 UTC (rev 2302)
+++ libgpod/trunk/ChangeLog 2009-04-05 15:40:27 UTC (rev 2303)
@@ -1,3 +1,10 @@
+2009-04-05 Christophe Fergeau <[email protected]>
+
+ Patch from: Erik Hovland
+
+ * src/itdb_thumb.c: don't shadow itdb_thumb_to_pixbuf_at_size
+ parameter with a local variable.
+
2009-04-04 Todd Zullinger <tmzullinger at users.sourceforge.net>
* configure.ac: Bump version and soname for 0.7.2rc1
Modified: libgpod/trunk/src/itdb_thumb.c
===================================================================
--- libgpod/trunk/src/itdb_thumb.c 2009-04-04 14:47:45 UTC (rev 2302)
+++ libgpod/trunk/src/itdb_thumb.c 2009-04-05 15:40:27 UTC (rev 2303)
@@ -440,7 +440,7 @@
case ITDB_THUMB_TYPE_IPOD:
{
Itdb_Thumb_Ipod *thumb_ipod = (Itdb_Thumb_Ipod *)thumb;
- const GList *thumb;
+ const GList *it;
Itdb_Thumb_Ipod_Item *chosen;
gint w=width;
gint h=height;
@@ -456,10 +456,10 @@
return NULL;
}
chosen = NULL;
- for (thumb = itdb_thumb_ipod_get_thumbs (thumb_ipod);
- thumb != NULL;
- thumb = thumb->next) {
- Itdb_Thumb_Ipod_Item *item = (Itdb_Thumb_Ipod_Item*)thumb->data;
+ for (it = itdb_thumb_ipod_get_thumbs (thumb_ipod);
+ it != NULL;
+ it = it->next) {
+ Itdb_Thumb_Ipod_Item *item = (Itdb_Thumb_Ipod_Item*)it->data;
if (chosen == NULL)
{ /* make sure we select *something* */
chosen = item;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2