1. 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
  2. 28 Apr, 2011 1 commit
    • Michael Natterer's avatar
      libgimp*: add guards that #error out if individual files are included · 844df2b4
      Michael Natterer authored
      This only helps to maintain proper includes in app/ and shouldn't
      affect plug-ins at all, because these are supposed to only include the
      main headers from libgimp/ since the beginning of time.
      
      The gimpfootypes.h files do not have these guards, so we can continue
      to maintain app/'s include policy that is very likely to error out if
      wrong things are included.
      844df2b4
  3. 06 Nov, 2008 1 commit
    • Sven Neumann's avatar
      use NC_() to mark enum values for translation. Use a lower-case short form · 02817081
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: use NC_() to mark enum values for 
      translation.
      	Use a lower-case short form of the type name as translation 
      context.
      
      	* libgimp/libgimp-intl.h: define the NC_() macro as noop.
      
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpbase/gimpbase.def: added new functions to set and
      	get a translation context on an enum type.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am:
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: register the translation context
      	with the enum types.
      
      	* app/display/display-enums.h
      	* libgimpbase/gimpbaseenums.h
      	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style 
      explicit
      	translation context.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27562
      02817081
  4. 03 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am app/core/Makefile.am app/display/Makefile.am · fe520925
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: 
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: micro-optimization in the 
      generated
      	enum registration code.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27538
      fe520925
  5. 27 Oct, 2006 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpcolorconfig-enums.[ch] libgimpconfig/gimpcolorconfig.c · 63da8bb8
      Sven Neumann authored
      2006-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig-enums.[ch]
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpconfig/gimpconfig.def: removed unused enum
      	GimpColorFileOpenBehaviour.
      
      	* app/core/core-enums.[ch]: added enum GimpColorProfilePolicy.
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: added property
      "color-profile-policy".
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-icc-profile.[ch]: new files that wrap
      usage
      	of the lcms plug-in.
      
      	* app/file/file-open.c: implement the user-configured policy for
      	embedded color profiles.
      
      	* app/widgets/gimpimageprofileview.c: use the wrapper to call
      the
      	plug-in-icc-profile-info procedure.
      
      	* app/widgets/gimptoolbox-dnd.c: pass TRUE for "attach_comment"
      	parameter to gimp_create_image().
      
      	* app/core/gimptemplate.c
      	* app/file/Makefile.am: cosmetic changes.
      
      	* app/Makefile.am: some resorting to make the beast link again.
      63da8bb8
  6. 27 Jun, 2006 1 commit
  7. 23 Aug, 2005 1 commit
  8. 08 Feb, 2005 1 commit
    • Sven Neumann's avatar
      gimp-mkenums doesn't seem to like newlines in enum definitions. · 4fc86a04
      Sven Neumann authored
      2005-02-08  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig-enums.[ch]: gimp-mkenums doesn't
      	seem to like newlines in enum definitions.
      
      	* libgimpconfig/gimpcolorconfig.[ch]: removed the "profile-path"
      	property for now. It doesn't work too well with GimpFileEntry.
      	We can add it back later if it turns out that we really need it.
      
      	* app/dialogs/preferences-dialog.c
      	* app/widgets/gimphelp-ids.h: added a color management page to the
      	preferences dialog.
      4fc86a04
  9. 06 Feb, 2005 1 commit
    • Sven Neumann's avatar
      libgimpconfig/Makefile.am libgimpconfig/gimpcolorconfig-enums.[ch] added a · 2eeefb13
      Sven Neumann authored
      2005-02-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/Makefile.am
      	* libgimpconfig/gimpcolorconfig-enums.[ch]
      	* libgimpconfig/gimpcolorconfig.[ch]: added a first draft of a
      	color management configuration object. Not yet installed nor used
      	by anything. This is based on an older patch by Stefan Döhla.
      2eeefb13