Author: coolo Date: Thu Jun 4 11:52:43 2009 New Revision: 57422 URL: http://svn.opensuse.org/viewcvs/yast?rev=57422&view=rev Log: adapt to new libzypp Modified: trunk/gtk/VERSION trunk/gtk/package/yast2-gtk.changes trunk/gtk/src/yzyppwrapper.cc Modified: trunk/gtk/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/VERSION?rev=57422&r1=57421&r2=57422&view=diff ============================================================================== --- trunk/gtk/VERSION (original) +++ trunk/gtk/VERSION Thu Jun 4 11:52:43 2009 @@ -1 +1 @@ -2.18.0 +2.18.1 Modified: trunk/gtk/package/yast2-gtk.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/package/yast2-gtk.changes?rev=57422&r1=57421&r2=57422&view=diff ============================================================================== --- trunk/gtk/package/yast2-gtk.changes (original) +++ trunk/gtk/package/yast2-gtk.changes Thu Jun 4 11:52:43 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jun 4 11:52:25 CEST 2009 - coolo@novell.com + +- adapt to new libzypp +- 2.18.1 + +------------------------------------------------------------------- Mon Apr 27 11:28:40 CEST 2009 - coolo@suse.de - fix compilation with gcc 4.4 Modified: trunk/gtk/src/yzyppwrapper.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.cc?rev=57422&r1=57421&r2=57422&view=diff ============================================================================== --- trunk/gtk/src/yzyppwrapper.cc (original) +++ trunk/gtk/src/yzyppwrapper.cc Thu Jun 4 11:52:43 2009 @@ -585,9 +585,8 @@ if (rich) { StringTree tree (strcmp, '/', NULL); - const std::list std::string &filesList = package->filenames(); - for (std::list std::string::const_iterator it = filesList.begin(); - it != filesList.end(); it++) + for (zypp::Package::FileList::iterator it = package->filelist().begin(); + it != package->filelist().end(); it++) tree.add (*it, ""); struct inner { @@ -638,9 +637,8 @@ inner::traverse, (void *) &text); } else { - const std::list std::string &filesList = package->filenames(); - for (std::list std::string::const_iterator it = filesList.begin(); - it != filesList.end(); it++) + for (zypp::Package::FileList::iterator it = package->filelist().begin(); + it != package->filelist().end(); it++) text += *it + " "; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org