FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Breaking changes Custom TreeModels.

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sat Apr 23, 2011 8:06 am    Post subject: Breaking changes Custom TreeModels. Reply with quote

With svn r831 i've moved the checks for the stamp of the TreeModel/TreeIters into the gtk.TreeModel class.
Any Custom treemodel that uses the stamp could stop working because of this.
Back to top
View user's profile Send private message
JNewt



Joined: 05 Jun 2008
Posts: 69

PostPosted: Mon Apr 25, 2011 11:18 am    Post subject: Reply with quote

Note to people affected by this change: simply remove all the
Code:
iter.stamp = stamp

lines from your code to get things working again.
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Mon Apr 25, 2011 1:36 pm    Post subject: Reply with quote

Also if your code checks the stamp of the TreeIters passed to the functions.
You should also remove it.
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Wed May 04, 2011 4:03 pm    Post subject: Reply with quote

For now the changes have been reverted in svn r845.

See: http://www.dsource.org/forums/viewtopic.php?t=5836 for more information.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group