1. 26 Jun, 2002 1 commit
    • Michael Natterer's avatar
      removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the · fa537489
      Michael Natterer authored
      2002-06-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay.[ch]: removed gdisp->scale,
      	gdisp->dot_for_dot, the scaling marcos and the
      	gdisplay_[un]transform[_f]() functions.
      
      	* app/display/gimpdisplayshell.[ch]: added them here. Named the
      	transform functions gimp_display_shell_[un]transform_xy[_f]().
      
      	Made the gimp_display_shell_[un]transform_coords() functions copy
      	all values of the GimpCoords struct, not just x and y.
      
      	* app/display/gimpstatusbar.[ch]: keep a pointer to
      	GimpDisplayShell, not GimpDisplay.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpnavigationview.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/select-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpvectortool.c: changed accordingly.
      
      	* app/gui/layers-commands.c: if(gimage->selection_mask) is always
      	TRUE, use if(!gimp_image_mask_is_empty(gimage)) instead.
      
      	* app/tools/gimpfuzzyselecttool.[ch]: moved global variables
      	to the object struct.
      fa537489
  2. 19 Jun, 2002 2 commits
    • Michael Natterer's avatar
      Fixed color picking (reported by jimmac on #gimp): · 0aec31c3
      Michael Natterer authored
      2002-06-20  Michael Natterer  <mitch@gimp.org>
      
      	Fixed color picking (reported by jimmac on #gimp):
      
      	* app/core/gimpimage-pick-color.c: set the returned color's alpha
      	value to opaque if the drawable we pick from has no aplha.
      
      	* app/tools/gimpcolorpickertool.c: ignore all values returned by
      	gimp_image_pick_color() if it returns FALSE (which happens if we
      	want to pick outside the drawable).
      0aec31c3
    • Michael Natterer's avatar
      Fix for #85202: · 53a4fafe
      Michael Natterer authored
      2002-06-19  Michael Natterer  <mitch@gimp.org>
      
      	Fix for #85202:
      
      	Updating the active tool's modifier state on GTK_ENTER_NOTIFY and
      	GTK_LEAVE_NOTIFY was a bad idea because this only works with
      	focus-follows-mouse.  Instead, update it during the whole time the
      	canvas can receive key events, namely from FOCUS_IN until
      	FOCUS_OUT. As an ugly side condition, click-to-focus leads to
      	GDK_BUTTON_PRESS arriving before GDK_FOCUS_CHANGE(in).
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: removed the
      	separate focus_in and focus_out callbacks and handle them in
      	gimp_display_shell_canvas_tool_events(). Moved tool state updating
      	from the ENTER/LEAVE code to FOCUS_CHANGE. Added an ugly static
      	variable "button_press_before_focus" and take care of the side
      	condition mentioned above.
      
      	* app/display/gimpdisplayshell.c: changed accordingly.
      53a4fafe
  3. 17 Jun, 2002 2 commits
    • Sven Neumann's avatar
      Obviously I disagree with Tim about the symbol_name parameter in · c5859647
      Sven Neumann authored
      2002-06-17  Sven Neumann  <sven@gimp.org>
      
      	Obviously I disagree with Tim about the symbol_name parameter in
      	g_scanner_unexp_token(). As it seems it's not supposed to be used
      	to tell the user about the expected symbol (see bug #81850):
      
      	* gimpconfig.[ch] (gimp_config_deserialize_return): removed the
      	symbol_name parameter.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c: changed the callers accordingly.
      
      	* app/core/gimpunits.c (gimp_unitrc_load): pass NULL as symbol_name
      	to g_scanner_unexp_token().
      c5859647
    • Michael Natterer's avatar
      Separated tool_options creation from tool registration so we don't · a3f44d8b
      Michael Natterer authored
      2002-06-17  Michael Natterer  <mitch@gimp.org>
      
      	Separated tool_options creation from tool registration so we
      	don't implicitly create widgets before gui_init():
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptionsNewFunc
      	typedef here...
      
      	* app/core/core-types.h: ...and added it here.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* app/core/gimptoolinfo.[ch]: added a GimpToolOptionsNewFunc
      	pointer to remember the constructor. Fixed the finalize() method
      	(bug was never noticed because we leaked all tool infos)
      
      	* app/tools/tool_manager.[ch]: moved tool_options creation to the
      	new function tool_manager_restore(). Unref the tool infos after
      	adding them to their container. Added "brush" and "gradient" to
      	the context properties which are defined for tool contexts.
      
      	* app/app_procs.c: call tool_manager_restore() after gui_init().
      
      	* app/gui/gui.c: removed the hack introduced recently and call
      	render_setup() in gui_init() again, not in gui_themes_init().
      
      	Use the correct contexts now that they are properly initialized
      	at the time of tool_options creation:
      
      	* app/tools/gimpblendtool.c: use tool_info->context, not
      	gimp_get_user_context() to get/set the tool's gradient.
      
      	* app/paint/gimppaintcore.[ch] (gimp_paint_core_start): added a
      	GimpPaintOptions paramater and get the brush to use from
      	paint_options->context (instead of gimp_get_current_context()).
      
      	* app/paint/gimppaintcore-stroke.c
      	* app/tools/gimppainttool.c: changed accordingly.
      
      	* app/tools/paint_options.c: added a brush preview to the paint
      	options.
      a3f44d8b
  4. 16 Jun, 2002 4 commits
    • Michael Natterer's avatar
      Fix for #85201: · aa7be287
      Michael Natterer authored
      2002-06-16  Michael Natterer  <mitch@gimp.org>
      
      	Fix for #85201:
      
      	* app/tools/gimpfliptool.c: set the toggle_cursor correctly.
      
      	* app/tools/gimptransformtool.c: if "use_grid" is FALSE, skip the
      	cursor update stuff and chain up directly.
      
      	Misc tool->control options fixes:
      
      	* app/tools/gimppainttool.c: set "motion_mode" to
      	GIMP_MOTION_MODE_EXACT.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimpsmudgetool.c: don't touch "motion_mode" here.
      
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimptransformtool.c: set "scroll_lock" to TRUE and
      	"preserve" to FALSE.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: don't touch them here.
      
      	* app/tools/gimphistogramtool.[ch]: derive it from GimpImageMapTool
      	so it inherits it's control settings.
      
      	* app/tools/gimpellipseselecttool.c: don't set "preserve" to TRUE.
      
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c: code formating paranoia.
      
      	* app/tools/gimptoolcontrol.c: fixed indentation.
      aa7be287
    • Michael Natterer's avatar
      set the witdh of the gradient preview to 96 instead of 128 pixels so it is · 6fe42e36
      Michael Natterer authored
      2002-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpblendtool.c: set the witdh of the gradient preview
      	to 96 instead of 128 pixels so it is not the widest tool options
      	item with the "small" theme.
      6fe42e36
    • Michael Natterer's avatar
      register the new "invert" and "layer to imagesize" PNGs as stock icons. · b2de1616
      Michael Natterer authored
      2002-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: register the new "invert" and
      	"layer to imagesize" PNGs as stock icons.
      
      	* app/gui/menus.c: use them here.
      
      	* themes/Default/images/Makefile.am: fixed indentation.
      b2de1616
    • Sven Neumann's avatar
      use the new paste icons in the menu. · ecff1381
      Sven Neumann authored
      2002-06-16  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/menus.c: use the new paste icons in the menu.
      ecff1381
  5. 13 Jun, 2002 2 commits
  6. 12 Jun, 2002 4 commits
    • Sven Neumann's avatar
      applied a patch from Henning Makholm <henning@makholm.net> that vastly · 05f3910d
      Sven Neumann authored
      2002-06-12  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.[ch]: applied a patch from Henning
      	Makholm <henning@makholm.net> that vastly improves drawing of thin
      	lines. See bug #69773 for a detailed description.
      05f3910d
    • Sven Neumann's avatar
      use off_t to handle file offsets (#74478). · 91d97997
      Sven Neumann authored
      2002-06-12  Sven Neumann  <sven@gimp.org>
      
      	* app/base/tile-swap.c: use off_t to handle file offsets (#74478).
      91d97997
    • Sven Neumann's avatar
      center the preview's allocation. · 117a8032
      Sven Neumann authored
      2002-06-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppreview.c (gimp_preview_size_allocate): center
      	the preview's allocation.
      
      	* app/tools/gimpblendtool.c (blend_options_new): use a button for
      	the gradient so it's more obvious that it can be pressed.
      117a8032
    • Michael Natterer's avatar
      added a boolean "internal" which indicates that the data object is an · 91cfa783
      Michael Natterer authored
      2002-06-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: added a boolean "internal" which
      	indicates that the data object is an automatically created
      	internal object. Changed the code to refuse saving to deleting
      	internal objects.
      
      	* app/core/Makefile.am
      	* app/core/gimp-gradients.[ch]: new files implementing internal
      	gradients (FG -> BG in RGB and HSV and FG -> transparent).
      
      	* app/core/gimp.c: call gimp_gradients_init().
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_data_free): don't
      	free internal objects so they stay there on "Refresh".
      
      	* app/core/gimpdatalist.c: sort internal objects to the beginning
      	of the list.
      
      	* app/widgets/gimpdataeditor.c: refuse to change the name of
      	internal objects.
      
      	* app/widgets/gimpdatafactoryview.c: set the "Delete" button
      	insensitive for internal objects.
      
      	* app/widgets/gimpgradienteditor.c: refuse to edit internal
      	gradients, just display them so color picking works.
      
      	* app/gui/brushes-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c: set the "Delete" menu item
      	insensitive for internal objects.
      
      	* app/gui/gui.c: need to call render_setup() earlier because of
      	you-dont-want-to-know-why. Will change it back once the previews
      	have their own render buffers.
      
      	* app/tools/gimpblendtool.c: Replaced the "Type" menu by a preview
      	showing the active gradient. Clicking the preview pops up the
      	gradient selection. Renamed the "Gradient" menu to "Shape". Removed
      	"blend_mode" from the BlendOptions struct because we always use
      	"custom" mode now.
      91cfa783
  7. 11 Jun, 2002 1 commit
  8. 09 Jun, 2002 3 commits
    • Michael Natterer's avatar
      themes/Default/imagerc themes/Default/images/Makefile.am register the new · f2745d88
      Michael Natterer authored
      2002-06-09  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/imagerc
      	* themes/Default/images/Makefile.am
      	* libgimpwidgets/gimpstock.[ch]: register the new "Swap" and
      	"Default" icons in "menu" size.
      
      	* app/gui/menus.c: use them here.
      
      	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
      f2745d88
    • Michael Natterer's avatar
      Paint cleanup: · 4163623b
      Michael Natterer authored
      2002-06-09  Michael Natterer  <mitch@gimp.org>
      
      	Paint cleanup:
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpblendtool.c: made all *_motion() functions take
      	only (paint_core, drawable, paint_options) and get all parametrs
      	from looking at paint_options. Reordered functions to be
      	consistent. Indentation. Stuff...
      
      	* app/paint/gimpdodgeburn.[ch]: moved the GimpLut from
      	GimpDodgeBurnOptions to the GimpDodgeBurn object struct.
      
      	* app/paint/gimpsmudge.[ch]: moved all global variables to the
      	GimpSmudge object struct.
      4163623b
    • Sven Neumann's avatar
      app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c · fd21daeb
      Sven Neumann authored
      2002-06-09  Sven Neumann  <sven@gimp.org>
      
      	* app/undo.c
      	* app/config/gimpconfig-deserialize.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpimagefile.c
      	* app/gui/paths-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpgradienteditor.c: unified translatable strings
      	and unmarked a few for translation since they should never be seen.
      
      2002-06-09  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated.
      
      	* de.po: updated german translation.
      fd21daeb
  9. 08 Jun, 2002 2 commits
    • Sven Neumann's avatar
      use stock pixbufs to draw the "Default Colors" and "Swap Colors" buttons. · d4882f00
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptoolbox-color-area.[ch]: use stock pixbufs to
      	draw the "Default Colors" and "Swap Colors" buttons.
      
      	* app/widgets/gimptoolbox.c: changed accordingly.
      
      	* pixmaps/Makefile.am
      	* pixmaps/default.xpm
      	* pixmaps/swap.xpm: removed these pixmaps.
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-default-colors-12.png
      	* themes/Default/images/stock-swap-colors-12.png: added them as stock
      	icons.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new stock icons.
      d4882f00
    • Sven Neumann's avatar
      applied patch from Henning Makholm <henning@makholm.net> that fixes wrong · 928cc642
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c (gimp_paint_core_get_brush_mask): applied
      	patch from Henning Makholm <henning@makholm.net> that fixes wrong
      	brush opacity (bug #84538).
      928cc642
  10. 07 Jun, 2002 2 commits
    • Sven Neumann's avatar
      app/base/Makefile.am automake-1.6 seems to use yet another variable to · 3aae3940
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/base/Makefile.am
      	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
      	variable to pass flags to the assembler (bug #84514). Define
      	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.
      
      	* configure.in
      	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
      	GNU make extension that we don't really need and newer versions of
      	automake don't seem to like it.
      3aae3940
    • Michael Natterer's avatar
      added gimp_list_reverse(). · f064fa4e
      Michael Natterer authored
      2002-06-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplist.[ch]: added gimp_list_reverse().
      
      	* app/core/gimpdocumentlist.c: call it after deserializing so we
      	don't reverse the history each time.
      
      	* app/widgets/gimpdevices.c: use it instead of manually fiddling
      	with list->list.
      f064fa4e
  11. 06 Jun, 2002 4 commits
    • Michael Natterer's avatar
      renamed gimp_drawable_apply_image() to gimp_drawable_push_undo() because · 413b9d33
      Michael Natterer authored
      2002-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: renamed gimp_drawable_apply_image()
      	to gimp_drawable_push_undo() because that's what it actually does.
      
      	* app/image_map.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpinktool.c: changed accordingly. Removed redundant
      	comments because it's now obvious what the function does from
      	looking at its name.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h: renamed "gboolean undo" parameters to
      	"gboolean push_undo".
      413b9d33
    • Michael Natterer's avatar
      #include "gimpscanner.h" · a46fa39f
      Michael Natterer authored
      2002-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c: #include "gimpscanner.h"
      a46fa39f
    • Michael Natterer's avatar
      added a boolean "push_undo" parameter. · 8bfd02fa
      Michael Natterer authored
      2002-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.[ch] (gimp_channel_invert): added a boolean
      	"push_undo" parameter.
      
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-qmask.c: pass push_undo == TRUE.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): call
      	gimp_channel_invert(), not gimp_drawable_invert() because the
      	latter takes the current selection into accout (reported by Jimmac
      	on #gimp). Added g_return_if_fail() stuff to all public functions.
      	Cleanup.
      8bfd02fa
    • Michael Natterer's avatar
      don't warn if an out-of-bounds index is passed in but simply return NULL · 8c3f15b4
      Michael Natterer authored
      2002-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.c (gimp_container_get_child_by_index):
      	don't warn if an out-of-bounds index is passed in but simply
      	return NULL (removes the need to check if the container has 0
      	children before asking the container for it's first child).
      8c3f15b4
  12. 05 Jun, 2002 1 commit
  13. 04 Jun, 2002 2 commits
  14. 02 Jun, 2002 1 commit
    • Michael Natterer's avatar
      parse sessionrc using GScanner. · 110efe52
      Michael Natterer authored
      2002-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/session.c: parse sessionrc using GScanner.
      
      	* app/config/gimpscanner.[ch]: added utility function
      	gimp_scanner_parse_string_list(). Fixed the color parser's parse
      	error detection.
      
      	* app/gimprc.c: removed the sessionrc parsing stuff.
      
      	* app/config/gimpconfig-params.c (gimp_param_spec_color): no need
      	to set the param_spec's value_type, it already gets set by it's
      	base class' instance_init() function.
      110efe52
  15. 31 May, 2002 4 commits
    • Michael Natterer's avatar
      removed all global variables, factored out duplicated code, cleanup. · bb587964
      Michael Natterer authored
      2002-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpclone.[ch]: removed all global variables, factored
      	out duplicated code, cleanup.
      bb587964
    • Michael Natterer's avatar
      app/widgets/gimpcolormapeditor.c return FALSE from button press event · 71d19cfd
      Michael Natterer authored
      2002-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimppaletteeditor.c: return FALSE from button press
      	event callbacks so the color drag handlers work again. Cleaned up
      	the palette editor a bit.
      71d19cfd
    • Michael Natterer's avatar
      this is getting silly: this time (maybe) really fix #83418 and #26072: of · ff9b313e
      Michael Natterer authored
      2002-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-core/paint-core.c (combine_sub_region): this is
      	getting silly: this time (maybe) really fix #83418 and #26072: of
      	course the local buffer needs to take the sizes of all three
      	passed in regions into account, not only two of them *sigh*
      ff9b313e
    • Michael Natterer's avatar
      configure the scanner the same way GimpConfig did (scanner->user_data is, · c6948e6e
      Michael Natterer authored
      2002-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpscanner.[ch]: configure the scanner the same
      	way GimpConfig did (scanner->user_data is, if set, a GError).
      	Added gimp_scanner_parse_color(). Added "GError **error" to
      	gimp_scanner_new().
      
      	* app/config/gimpconfig.c: use gimp_scanner_new().
      
      	* app/config/gimpconfig-deserialize.c: use gimp_scanner_parse_color().
      
      	* app/core/gimpunits.c
      	* app/plug-in/plug-in-rc.c: changed accordingly.
      
      	* app/plug-in/plug-in-rc.c: made the main parse loops consistent
      	with the other places using GScanner.
      c6948e6e
  16. 30 May, 2002 3 commits
    • Michael Natterer's avatar
      UTF-8 validate all strings and try g_locale_to_utf8() as fallback if it · 98849323
      Michael Natterer authored
      2002-05-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf-read.c (xcf_read_string): UTF-8 validate all strings
      	and try g_locale_to_utf8() as fallback if it fails.
      
      2002-05-30  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added app/xcf/xcf-read.c
      98849323
    • Sven Neumann's avatar
      added -lX11 to LIBXMU since GTK_LIBS doesn't provide it for us anymore · 892d319e
      Sven Neumann authored
      2002-05-30  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
      	it for us anymore (reported by Tomas Ogren).
      
      	* libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.
      
      	* app/base/Makefile.am: conditionally build detect-mmx.S to avoid
      	warnings about empty object files (reported by Tomas Ogren).
      
      	* plug-ins/Makefile.am: commented out plugin-helper since it's just
      	too broken to be distributed.
      
      	* themes/Default/images/Makefile.am: echo -n is not portable and not
      	needed, so removed it (reported by Tomas Ogren).
      892d319e
    • Sven Neumann's avatar
      do some sanity checks on the values returned by GDK. · 0633d0c0
      Sven Neumann authored
      2002-05-30  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/gui.c (gui_get_screen_resolution): do some sanity checks
      	on the values returned by GDK.
      0633d0c0
  17. 29 May, 2002 2 commits
    • Michael Natterer's avatar
      fixed #83418, which was caused by my bogus "fix" for #34849 · 510fd836
      Michael Natterer authored
      2002-05-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.c: fixed #83418, which was caused by
      	my bogus "fix" for #34849 (initial_sub_region:: error :: src->w *
      	(src->bytes + 1) > 512).
      	The assertions were there because there were local temporary
      	buffers of 512 bytes size. Now the buffers' size is
      	MAX (src->width * src->bytes, dest->width * dest->bytes) which
      	should be enough this time :) Re-enabled the assertions because
      	of paranoia...
      510fd836
    • Michael Natterer's avatar
      don't pass bogus [0..255] opacities to gimp_paint_core_paste_canvas() but · 440a599e
      Michael Natterer authored
      2002-05-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppencil.c: don't pass bogus [0..255] opacities to
      	gimp_paint_core_paste_canvas() but use gdouble values in a
      	[0.0..1.0] range. Spotted by Jakub Steiner.
      440a599e