[Kde-imaging] [Bug 140279] kipi-plugins-1.3-beta fails to build with libgpod 0.4.2

Colin Guthrie kde at colin.guthr.ie
Sat Jan 20 14:04:07 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140279         




------- Additional Comments From kde colin guthr ie  2007-01-20 14:04 -------
Dammit. I got my CCBUG completely wrong in that last commit: Here goes with a copy+paste from the bug I accidentally polluted :)

SVN commit 625569 by cguthrie:

Fix to compile with latest libgpod 0.4.2
Warning: I do not have an ipod to test this, so you may still want to disable this for final release Angelo.
The only changes were to add 0 values for position and rotation in two functions calls, so I shouldn't expect too much fall out.
CCBUG: 67873


 M  +2 -2      ipodexportdialog.cpp  


--- trunk/extragear/libs/kipi-plugins/ipodexport/ipodexportdialog.cpp #625568:625569
 @ -325,7 +325,7  @
 #define item static_cast<ImageListItem*>(item)
         debug() << "Uploading "      << item->pathSrc()
                 << " to ipod album " << album->name << endl;
-        Itdb_Artwork *art = itdb_photodb_add_photo( m_itdb, QFile::encodeName( item->pathSrc() ), &err );
+        Itdb_Artwork *art = itdb_photodb_add_photo( m_itdb, QFile::encodeName( item->pathSrc() ), 0, 0, &err );
         if( !art )
         {
             if( err )
 @ -336,7 +336,7  @
             }
         }
         else
-            itdb_photodb_photoalbum_add_photo( m_itdb, album, art );
+            itdb_photodb_photoalbum_add_photo( m_itdb, album, art, 0 );
 
         delete item;
 #undef  item


More information about the Kde-imaging mailing list