CVSROOT: /cvs/gnome Module name: gimp Changes by: mitch 06/05/09 15:15:49
Modified files: . : ChangeLog app/core : gimpimage.c gimpitem.c gimp.c gimp-gui.c app/display : gimpdisplay.c Log message: 2006-05-09 Michael Natterer <[EMAIL PROTECTED]> * app/core/gimpimage.c (gimp_image_new) * app/core/gimpitem.c (gimp_item_configure) * app/display/gimpdisplay.c (gimp_display_new): make sure IDs wrap correctly at G_MAXINT and skip IDs which are currently in use. It makes no sense to treat gimp->image_table and gimp->images differently, since they keep the same set of images. And it makes no sense to treat gimp->displays and gimp->images differently. Moved all container adding into the objects' constructors: * app/core/gimp.c (gimp_create_image): don't add the new image to gimp->images here... * app/core/gimpimage.c (gimp_image_constructor): ...but here. * app/core/gimp-gui.c (gimp_create_display): don't add the new display to gimp->displays here... * app/display/gimpdisplay.c (gimp_display_new): ...but here. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-05-09%2015:14&maxdate=2006-05-09%2015:16 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list