1. 12 Aug, 2001 1 commit
    • Michael Natterer's avatar
      Switched to GObject reference counting: · 79faae01
      Michael Natterer authored
      2001-08-12  Michael Natterer  <mitch@gimp.org>
      
      	Switched to GObject reference counting:
      
      	* app/core/gimpcontainer.c: only ref(), not ref()/sink() children
      	of strong containers. Reordered gimp_container_remove() so we
      	don't need to ref the object while removing it.
      
      	* app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.c
      	* app/core/gimpparasite.c
      	* app/core/gimppattern.c
      	* app/core/gimpundostack.c
      	* app/gui/dialogs.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
      	ref()/sink() any more, unref all (??) objects after adding them to
      	strong containers, misc. minor fixes.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
      	instead of simply crashing because g_object_weak_ref() was used
      	with gtk_widget_destroyed, brrr.
      
      	* app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
      79faae01
  2. 11 Aug, 2001 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new file implementing the docindex.* replacement. · 4305c39c
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdocuments.[ch]: new file implementing the
      	docindex.* replacement.
      
      	* app/gimprc.c: added TT_XDOCUMENT to parse the new document
      	history.
      
      	* app/file-save.c
      	* app/gui/file-open-dialog.c: add opened & saved images to the
      	document history.
      
      	* app/core/gimp.c: call gimp_documents_init/exit() instead of
      	doing it here.
      
      	* app/core/gimpimagefile.[ch]: removed the "filename" attribute
      	and use GimpObject's "name" instead.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: added a menu entry/dockable for the document
      	history.
      
      	* app/widgets/gimpdnd.[ch]: make it DND-able.
      
      	* app/widgets/gimppreview.c: fix  preview rendering correctly this
      	itme.
      4305c39c