1. 11 Jul, 2018 1 commit
  2. 03 Jul, 2014 1 commit
  3. 01 Jul, 2014 1 commit
  4. 30 Jun, 2014 1 commit
  5. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  6. 02 May, 2012 1 commit
  7. 31 Oct, 2009 1 commit
  8. 10 Oct, 2009 2 commits
  9. 09 Oct, 2009 1 commit
  10. 20 Aug, 2009 1 commit
  11. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  12. 15 Nov, 2007 1 commit
    • Sven Neumann's avatar
      added sanity checks. · 0ed77b21
      Sven Neumann authored
      2007-11-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcurve-save.c: added sanity checks.
      
      
      svn path=/trunk/; revision=24162
      0ed77b21
  13. 02 Nov, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpcurve-save.[ch] · 5dd23ae1
      Michael Natterer authored
      2007-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcurve-save.[ch]
      	* app/core/gimpcurve-load.[ch]
      	* app/core/gimpcurve.[ch]: new GimpData subclass which keeps a
      	curve as known from the curves tool. Pretty much unfinished, but
      	can do everything that used to be done by base/curves.c and more.
      
      	* app/base/curves.[ch]: stripped down to plain arrays of
      	uchar (the actual curve) and the LUT setup function. All the rest
      	is done by GimpCurve now.
      
      	* app/tools/gimpcurvestool.[ch]: use an array of GimpCurves
      	instead of the old Curves cruft. Use Curves only for the last step
      	of creating the LUT. Pretty much unfinished migration here too.
      
      	* tools/pdbgen/pdb/color.pdb: use a GimpCurve here too.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24041
      5dd23ae1
  14. 09 Dec, 2006 1 commit
  15. 04 Oct, 2006 1 commit
    • Michael Natterer's avatar
      app/core/gimpbrushgenerated-load.c app/core/gimpgradient-load.c · 544d679e
      Michael Natterer authored
      2006-10-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated-load.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimppalette-load.c
      	* app/core/gimppalette-save.c: read and write all files in binary
      	mode. Improved parser error messages (added line numbers). Minor
      	changes to simply read DOS files instead of barfing on them.
      544d679e
  16. 03 Oct, 2006 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/gimppalette-load.[ch] new files. · 75eed976
      Michael Natterer authored
      2006-10-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimppalette-load.[ch]
      	* app/core/gimppalette-save.[ch]: new files.
      
      	* app/core/gimppalette.[ch]: removed loading and saving code here.
      
      	* app/core/gimp.c
      	* app/core/gimppalette-import.c: changed accordingly.
      75eed976
  17. 29 Aug, 2006 1 commit
    • Michael Natterer's avatar
      Changed GimpViewable preview rendering to have a context to get · b53aa45a
      Michael Natterer authored
      2006-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Changed GimpViewable preview rendering to have a context to get
      	FG/BG/whatever from. Use the context to enable dynamic FG/BG
      	colors in gradients. Fixes bug #127676 and bug #352214. Addresses
      	bug #128367 (doesn't fix it because there's no loading/saving and
      	no GUI yet).
      
      	* app/core/core-enums.[ch]: added enum GimpGradientColor to enable
      	specifying gradient colors in terms of foreground and background.
      
      	* app/core/gimpgradient.[ch]: added color_type members to the
      	GimpGradientSegment struct and honor them in
      	gimp_gradient_get_color_at(). Added GimpContext parameters to all
      	functions which finally call get_color_at().
      
      	* app/core/gimp-gradients.c: use the new method to implement the
      	builtin gradients.
      
      	* app/core/gimpviewable.[ch]: added GimpContext parameters to all
      	get_preview() and get_pixbuf() functions.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-preview.[ch]
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/text/gimpfont.c
      	* app/vectors/gimpvectors-preview.[ch]: changed ::get_preview()
      	and ::get_pixbuf() implementations accordingly.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.[ch]
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/actions/gradient-editor-commands.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpclipboard.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerentry.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.[ch]
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpview-popup.[ch]
      	* app/widgets/gimpview.[ch]
      	* app/widgets/gimpviewablebutton.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpviewrenderer.[ch]
      	* app/widgets/gimpviewrenderer-frame.c
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererbuffer.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb: added tons of GimpContext members
      	and parameters, implement GimpDocked::set_context() in many
      	widgets. Pass these locally remembered contexts to GimpViewable
      	functions. Did some minor cleanups on the way. There are still
      	some minor FIXMEs around where the code uses a NULL context (which
      	is allowed by the APIs)
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      b53aa45a
  18. 23 May, 2006 1 commit
    • Sven Neumann's avatar
      It makes more sense to have GimpData::dirty indicate a name change than to · c3448b2c
      Sven Neumann authored
      2006-05-23  Sven Neumann  <sven@gimp.org>
      
      	It makes more sense to have GimpData::dirty indicate a name change
      	than to invalidate the previews whenever the name changes.
      
      	* app/core/gimpdata.c: call gimp_object_name_changed() from
      	gimp_data_real_dirty() instead of implementing
      	GimpObject::name-changed and calling gimp_data_dirty() from there.
      
      	* app/core/gimpbrushclipboard.c
      	* app/core/gimppalette.c
      	* app/core/gimppatternclipboard.c: call gimp_data_dirty() in place
      	of gimp_object_name_changed().
      
      	* app/core/gimpbrushgenerated.c (gimp_brush_generated_dirty):
      	chain up unconditionally.
      c3448b2c
  19. 15 May, 2006 1 commit
  20. 07 Apr, 2006 1 commit
    • Sven Neumann's avatar
      app/actions/tool-options-commands.c app/core/gimp.c · 5fc9bd40
      Sven Neumann authored
      2006-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/tool-options-commands.c
      	* app/core/gimp.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimplist.c
      	* app/core/gimppalette.c
      	* app/dialogs/template-options-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/paint/gimp-paint.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolbox-dnd.c: use gimp_object_set_static_name()
      	and gimp_object_take_name() where appropriate.
      5fc9bd40
  21. 10 Dec, 2005 1 commit
  22. 09 Oct, 2005 1 commit
    • Michael Natterer's avatar
      set the "tooltip" return value to NULL before calling the virtual · 34697840
      Michael Natterer authored
      2005-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.c (gimp_viewable_get_description): set the
      	"tooltip" return value to NULL before calling the virtual function.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimptoolinfo.c (get_description): don't do it here.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimppaintinfo.c: untabbify, cleanup.
      
      	* app/core/gimpobject.c: emit "notify::name" whenerver the name
      	changes, clenup.
      34697840
  23. 01 Sep, 2005 2 commits
    • Sven Neumann's avatar
      reverted, it duplicates existing functionality. · f4e2ea30
      Sven Neumann authored
      2005-09-01  Sven Neumann  <neumann@jpk.com>
      
      	* app/core/gimppalette.[ch]: reverted, it duplicates existing
      	functionality.
      
      	* app/core/gimppalette-import.c
      	(gimp_palette_import_from_indexed_image): name the colors using
      	their index in the colormap.
      f4e2ea30
    • Sven Neumann's avatar
      added gimp_palette_new_from_colormap(). · cf538a33
      Sven Neumann authored
      2005-09-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: added gimp_palette_new_from_colormap().
      cf538a33
  24. 13 Jul, 2005 1 commit
  25. 08 Jun, 2005 1 commit
    • Sven Neumann's avatar
      Removed "stingy-memory-use" all over the place. This feature was really · c1363db8
      Sven Neumann authored
      2005-06-08  Sven Neumann  <sven@gimp.org>
      
      	Removed "stingy-memory-use" all over the place. This feature was
      	really not that useful anymore. The GUI for the preference option
      	was already removed for GIMP 2.2.  Fixes bug #306617.
      
      	* app/config/gimpbaseconfig.[ch]: set IGNORE flag on
      	"stingy-memory-use".
      
      	* app/config/gimpcoreconfig.h: added a comment that the
      	font_path_writable variable is unused.
      
      	* app/base/temp-buf.[ch]: removed code that used to deal with
      	swapping temp-bufs to disk.
      
      	* app/base/base.c: made base_config a static variable.
      
      	* app/core/gimpdata.[ch]
      	* app/core/gimpdatafactory.[ch]: removed stingy_memory_use
      	parameter from data construction methods.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimpbrush-load.[ch]
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpcontext.c
      	* app/core/gimpgradient-load.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette-import.c
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: changed accordingly.
      c1363db8
  26. 25 May, 2005 1 commit
    • Sven Neumann's avatar
      added MIME type as a construct property to GimpData. · 59cb5d75
      Sven Neumann authored
      2005-05-26  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.[ch]: added MIME type as a construct property
      	to GimpData.
      
      	* app/core/gimpbrush-load.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: set the MIME type when loading a data
      	object from file. MIME types needs review and GimpPalette isn't
      	quite done yet...
      
      	* app/core/gimpdashpattern.c: cosmetics.
      59cb5d75
  27. 09 Mar, 2005 1 commit
    • Sven Neumann's avatar
      renamed again, to gimp_palette_[gs]et_columns this time. · 3285ee6e
      Sven Neumann authored
      2005-03-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: renamed again, to
      	gimp_palette_[gs]et_columns this time.
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* tools/pdbgen/pdb/palette.pdb: renamed newly added PDB function.
      	Also added a getter for the columns.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimppalette_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      3285ee6e
  28. 08 Mar, 2005 1 commit
    • Sven Neumann's avatar
      renamed gimp_palette_[gs]et_n_columns to · 243cdf53
      Sven Neumann authored
      2005-03-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: renamed gimp_palette_[gs]et_n_columns
      	to gimp_palette_[gs]et_num_columns().
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* tools/pdbgen/pdb/palette.pdb: added new PDB function to control
      	the number of columns used when displaying a palette (bug #169370).
      
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimppalette_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      243cdf53
  29. 20 Feb, 2005 1 commit
    • Sven Neumann's avatar
      app/core/gimpgradient-load.c app/core/gimppalette.c app/core/gimppattern.c · 1e6a94e6
      Sven Neumann authored
      2005-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpgradient-load.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/plug-in/plug-in.c
      	* libgimpbase/gimputils.c
      	* libgimpmodule/gimpmodule.c
      	* libgimpwidgets/gimppatheditor.c
      	* tools/pdbgen/pdb/image.pdb: use g_filename_display_name() or
      	g_filename_display_basename() where appropriate.
      
      	* app/pdb/image_cmds.c: regenerated.
      1e6a94e6
  30. 07 Feb, 2005 1 commit
    • Sven Neumann's avatar
      app/base/base.c app/base/temp-buf.c app/base/tile-swap.c · 648cccde
      Sven Neumann authored
      2005-02-07  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/base/tile-swap.c
      	* app/config/gimpconfig-file.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdata.c
      	* app/core/gimpenvirontable.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimpgradient-save.c
      	* app/core/gimppalette-import.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/dialogs/user-install-dialog.c
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/widgets/gimpdevices.c: use gstdio wrappers.
      648cccde
  31. 31 Dec, 2004 2 commits
    • Michael Natterer's avatar
      removed the just added gimp_palette_insert_entry() and added a "gint · e5feab65
      Michael Natterer authored
      2004-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.[ch]: removed the just added
      	gimp_palette_insert_entry() and added a "gint position" parameter
      	to gimp_palette_add_entry() instead (no need to have two almost
      	identical functions).
      
      	* app/actions/palette-editor-commands.c
      	* app/core/gimppalette-import.c
      	* app/widgets/gimppaletteeditor.c
      	* tools/pdbgen/pdb/palette.pdb: changed accordingly.
      
      	* app/pdb/palette_cmds.c: regenerated.
      e5feab65
    • Michael Natterer's avatar
      Applied modified patch from Ben Campbell which adds drop coordinates to · e0f25134
      Michael Natterer authored
      2004-12-31  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Ben Campbell which adds drop
      	coordinates to the color drop callback and uses it to insert
      	colors in the palette editor. Extended the patch to add drop
      	coordinates to all drop callbacks.
      
      	* app/core/gimppalette.[ch]: added gimp_palette_insert_entry().
      
      	* app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates
      	to all drop callbacks.
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed
      	drop coordiantes are so far unused.
      
      	* app/widgets/gimppaletteeditor.c: use the drop coordinates to
      	insert the new color into the palette at the right place instead
      	of always appending. Fixes bug #150030.
      e0f25134
  32. 28 Sep, 2004 1 commit
    • Michael Natterer's avatar
      code review / cleanup. · 2c74680e
      Michael Natterer authored
      2004-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.c: code review / cleanup.
      
      	(gimp_palette_delete_entry): don't add "Black" when the last color
      	gets removed, a palette can easily live with zero colors.
      
      	* app/widgets/gimppaletteeditor.c
      	(palette_editor_invalidate_preview): also update the entry which
      	shows the palette_entry's name.
      2c74680e
  33. 26 Jul, 2004 1 commit
    • Michael Natterer's avatar
      added "gboolean writable" to the GimpDataFactoryLoaderEntry struct. Return · 638f2b3a
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.h: added "gboolean writable" to the
      	GimpDataFactoryLoaderEntry struct. Return a GList* instead of
      	GimpData* from GimpDataLoadFunc so it's possible to load more than
      	one data object from one file.
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
      	changed accordingly: add all items of the returned lists to the
      	data factory. Make the data object writable only if it's in the
      	writable path *and* its loader entry says it's a writable format
      	*and* the returned list contains exactly one element.
      
      	* app/core/gimp.c (gimp_real_initialize): declare all loader
      	entries as writable where we have code to read and write exactly
      	one object per file; all others are not writable.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient-load.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch] (all load functions): return a list
      	containing the loaded object instead of the object itself.
      638f2b3a
  34. 30 Jun, 2004 1 commit
  35. 12 Jun, 2004 1 commit
  36. 13 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Fixed GimpData's default "writable" and "deletable" behaviour: · d991e64b
      Michael Natterer authored
      2004-02-13  Michael Natterer  <mitch@gimp.org>
      
      	Fixed GimpData's default "writable" and "deletable" behaviour:
      
      	* app/core/gimpdata.c (gimp_data_init): default to writable and
      	deletable == TRUE (something that has no filename was never loaded
      	from disk and can't be undeletable or read-only).
      	Fixes bug #134274.
      
      	* app/core/gimpdata.[ch]: added new function
      	gimp_data_make_internal() which frees the filename and sets the
      	data's flags accordingly.
      
      	* app/core/gimp-gradients.c (gimp_gradients_add_gradient)
      	* app/core/gimpbrush.c (gimp_brush_get_standard)
      	* app/core/gimpgradient.c (gimp_gradient_get_standard)
      	* app/core/gimppalette.c (gimp_palette_get_standard)
      	* app/core/gimppattern.c (gimp_pattern_get_standard): use the
      	new function for internal data objects.
      
      	* app/core/gimpdata.c (gimp_data_save, gimp_data_delete_from_disk)
      	* app/core/gimpdatafactory.c (gimp_data_factory_save_single):
      	bail out with g_return_if_fail() is the data is not writable
      	or deletable.
      
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      d991e64b
  37. 29 Jan, 2004 1 commit
    • Michael Natterer's avatar
      GimpData code review: · 44cac5ae
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	GimpData code review:
      
      	* app/core/gimpdata.c (gimp_data_init): default to
      	writable = FALSE and dirty = TRUE.
      
      	* app/core/gimpbrushgenerated.[ch]: added "const gchar *name" to
      	gimp_brush_generated_new().
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: set all standard datas to clean and
      	internal, check for g_path_is_absolute() in all load functions,
      	pass the data's name as construct property to g_object_new()
      	instead of calling gimp_object_set_name() after creation, fixed
      	some UTF-8 handling, spacing, indentation, coding style, general
      	cleanup.
      44cac5ae