Commit Graph

17981 Commits

Author SHA1 Message Date
Sven Neumann 84bac48c7c formatting.
2006-06-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: formatting.
2006-06-05 11:18:43 +00:00
Seth Burgess 005f3b0713 fixed file_png_set_defaults; wrong # of return values, missing "set"
* plug-ins/common/png.c: fixed file_png_set_defaults; wrong # of
          return values, missing "set" if/else set, wrong set param count,
          and off by one error in the parameter indexes.  Thanks to Kevin
          on helping track these down.
2006-06-05 03:40:15 +00:00
William Skaggs 26db965dd5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c:
	* app/tools/gimpnewrectselecttool.c: enable canceling of
	current action by holding down mouse button 3.
2006-06-04 20:34:46 +00:00
Michael Natterer a787ce388f strcmp() the property name, so we don't change the size on random property
2006-06-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpscaletool.c (gimp_scale_tool_size_notify):
	strcmp() the property name, so we don't change the size on random
	property changes. Fixes the tool reverting to the previous
	width/height on each new transform (destroying the previous size
	box causes it to emit stuff like "notify::visible").

	(gimp_scale_tool_prepare): additionally, disconnect from the size
	box before destroying it (paranoia).
2006-06-04 19:27:21 +00:00
William Skaggs 2139012641 ll Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpnewrectselectoptions.c: turn highlighting
	off by default.
2006-06-04 18:47:11 +00:00
William Skaggs e9e265309d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw):
	draw anchors in corners; clean up code a bit.

	* app/tools/gimpnewrectselecttool.c: actually remove some code
	previously commented out.
2006-06-04 18:21:56 +00:00
Michael Natterer b668136ae3 fix typo so the "notify" signal doesn't stay blocked.
2006-06-04  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppropwidgets.c
	(gimp_prop_file_chooser_button_callback): fix typo so the "notify"
	signal doesn't stay blocked.

	* app/dialogs/preferences-dialog.c: added "Reset" button which
	resets all prefs values to their defaults. Fixes bug #342112.
2006-06-04 18:05:53 +00:00
William Skaggs 3e4d8075c7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.[ch]: add new signal
	"rectangle-changed" and method rectangle_changed.
	Emit them on button release and when dimensions are
	changed in controls.

	* app/tools/gimpnewrectselecttool.c: use rectangle_changed
	method to change selection, undoing previous change if
	necessary.
2006-06-04 17:08:26 +00:00
Michael Natterer c2928c8721 changed mnemonic from "_Preview" to "Pr_eview" because the GTK+ HEAD file
2006-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpthumbbox.c (gimp_thumb_box_new): changed
	mnemonic from "_Preview" to "Pr_eview" because the GTK+ HEAD
	file chooser has a "_Places" mnemonic now.

	* app/widgets/gimpcomponenteditor.c: minor cleanup.
2006-06-04 11:49:30 +00:00
Michael Natterer 962282fe5f use gimp_rgba_distance() instead of gimp_rgb_distance(), so alpha changes
2006-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.c (gimp_color_frame_set_color): use
	gimp_rgba_distance() instead of gimp_rgb_distance(), so alpha
	changes update the color frame too.
2006-06-04 11:39:22 +00:00
Michael Natterer e286259048 renamed gimp_image_coords_in_active_drawable() to
2006-06-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: renamed
	gimp_image_coords_in_active_drawable() to
	gimp_image_coords_in_active_pickable() and added boolean
	"sample_merged" and "selected_only" parameters. Use floor()
	instead of ROUND(), we want to round to the actual pixel, not to
	the nearest pixel boundary.

	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolortool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimptransformtool.c: changed accordingly. Removed
	quite some duplicated code which checked sample_merged and the
	mask value at the cursor location.

	* app/tools/gimpbycolorselecttool.c: use the hand tool cursor,
	there's also a hand in the toolbox icon. Fixed cursor_update()
	function to set the bad modifier when there is no pickable pixel
	at the cursor loction.

	* app/tools/gimpfuzzyselecttool.c: added cursor_update()
	implementation which does the same as by_color_select's one.

	* app/tools/gimpselectiontool.c
	(gimp_selection_tool_cursor_update): don't override the bad
	modifier which was set by a subclass' cursor_update().
2006-06-03 15:41:40 +00:00
Michael Natterer 6216c99b0e Make better use of the available 32x32 pixels so the cursors look less
2006-06-03  Michael Natterer  <mitch@gimp.org>

	Make better use of the available 32x32 pixels so the cursors look
	less crowded:

	* cursors/cursor-corner-*.png
	* cursors/cursor-side-*.png
	* cursors/xbm/cursor-corner-*.xbm
	* cursors/xbm/cursor-side-*.xbm: made the crosshair lines one
	pixel longer.

	* cursors/modifier-join.png
	* cursors/modifier-pattern.png
	* cursors/xbm/modifier-join-mask.xbm
	* cursors/xbm/modifier-join.xbm
	* cursors/xbm/modifier-pattern-mask.xbm
	* cursors/xbm/modifier-pattern.xbm: moved one pixel to the right.

	* cursors/tool-*.png
	* cursors/xbm/tool-*.png: moved closer to the bottom right corner.

	* cursors/gimp-tool-cursors.xcf: ditto.
2006-06-03 12:49:40 +00:00
Michael Natterer f3a271b13c check for function == INACTIVE, not CREATING || EXECUTING when checking
2006-06-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpnewrectselecttool.c
	(gimp_new_rect_select_tool_button_press): check for function ==
	INACTIVE, not CREATING || EXECUTING when checking whether to start
	moving.

	* app/tools/gimpselectiontool.c (gimp_selection_tool_oper_update):
	changed modifiers so alt+ctrl does cut+float+move and alt+shift
	does copy+float+move.
2006-06-03 08:47:43 +00:00
William Skaggs ac72c78cea Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c: move statically declared
	variables into "private" struct.
2006-06-02 22:24:55 +00:00
William Skaggs bca074ae1d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpbase/Makefile.am: include gimpcpuaccel.h in
	libgimpbaseinclude_HEADERS; missed in Sven's changes.
2006-06-02 21:31:56 +00:00
William Skaggs ff94c83f0e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpnewrectselecttool.[ch]: use RECT_INACTIVE state,
	(but doesn't seem to do anything).  More importantly, change
	logic so that button_release executes the tool, and button
	release undo's if appropriate.
2006-06-02 19:39:28 +00:00
William Skaggs 84dadb1819 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.[ch]: add new function RECT_INACTIVE
	for cases where no rectangle exists.  This may take some
	tweaking to get right.
2006-06-02 19:34:47 +00:00
William Skaggs 7c90b66c36 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_button_press):
	if function is RECT_CREATING, start a new rectangle.

	* app/tools/gimpnewrectselecttool.c: remove g_printerr statement that
	mitch added for debugging.
2006-06-02 16:12:31 +00:00
Michael Natterer d1a76d93f7 cursors/Makefile.am cursors/cursor-corner-bottom-left.png
2006-06-02  Michael Natterer  <mitch@gimp.org>

	* cursors/Makefile.am
	* cursors/cursor-corner-bottom-left.png
	* cursors/cursor-corner-bottom-right.png
	* cursors/cursor-corner-top-left.png
	* cursors/cursor-corner-top-right.png
	* cursors/cursor-side-bottom.png
	* cursors/cursor-side-left.png
	* cursors/cursor-side-right.png
	* cursors/cursor-side-top.png
	* cursors/xbm/cursor-corner-bottom-left-mask.xbm
	* cursors/xbm/cursor-corner-bottom-left.xbm
	* cursors/xbm/cursor-corner-bottom-right-mask.xbm
	* cursors/xbm/cursor-corner-bottom-right.xbm
	* cursors/xbm/cursor-corner-top-left-mask.xbm
	* cursors/xbm/cursor-corner-top-left.xbm
	* cursors/xbm/cursor-corner-top-right-mask.xbm
	* cursors/xbm/cursor-corner-top-right.xbm
	* cursors/xbm/cursor-side-bottom-mask.xbm
	* cursors/xbm/cursor-side-bottom.xbm
	* cursors/xbm/cursor-side-left-mask.xbm
	* cursors/xbm/cursor-side-left.xbm
	* cursors/xbm/cursor-side-right-mask.xbm
	* cursors/xbm/cursor-side-right.xbm
	* cursors/xbm/cursor-side-top-mask.xbm
	* cursors/xbm/cursor-side-top.xbm: new cursors for edge and corner
	resizing. They perfectly align with the small crosshair and can be
	used together with tool cursors and cursor modifiers.

	* cursors/gimp-tool-cursors.xcf: add them here too.

	* app/widgets/widgets-enums.h: add them to the GimpCursorType enum.

	* app/widgets/gimpcursor.c: add them here too.

	* app/display/gimpdisplayshell-cursor.c: treat them like the small
	crosshair (don't replace them by the small crosshair but use them
	as-is). Also allow the bad modifier with the large crosshair.

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_cursor_update): use the new cursors. Don't
	call gimp_tool_set_cursor() here.

	(gimp_rectangle_tool_response): reset "function" to RECT_CREATING
	when resetting the tool.

	* app/tools/gimpselectiontool.[ch] (struct GimpSelectionTool):
	added boolean member "allow_move" which defalts to TRUE.

	(gimp_selection_tool_oper_update): don't move masks, floating
	selections or anything when "allow_move" is FALSE. Changed
	behavior of click inside a selection to simply create a new
	selection, need to press alt+shift now to drag-float the
	selection. Please test this, it's apretty fundamental change!

	(gimp_selection_tool_cursor_update): use the tool's configured
	cursor instead of always GIMP_CURSOR_MOUSE, so this function can
	be called after gimp_rectangle_tool_cursor_update() to add the
	plus, minus etc. modifiers.

	* app/tools/gimpnewrectselecttool.c: implement
	GimpTool::cursor_update() and call
	gimp_rectangle_tool_cursor_update() from there. Chain up to get
	the plus, minus etc. modifiers added.

	Re-enble selection moving:

	(gimp_new_rect_select_tool_oper_update): set GimpSelectionTool's
	"allow_move" to FALSE unless the rectangle tool is in an idle
	state.

	(gimp_new_rect_select_tool_button_press): allow a selection moving
	to be started if the rectangle tool is idle. Fall back to starting
	a rect select if gimp_selection_tool_start_edit() returned FALSE.
2006-06-02 15:23:47 +00:00
Sven Neumann 3a7629733a always look at $plugins{$_}->{cflags}.
2006-06-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: always look at $plugins{$_}->{cflags}.

	* plug-ins/common/plugin-defs.pl: use MMX_EXTRA_CFLAGS for the
	selective gaussian blur plug-in.

	* plug-ins/common/Makefile.am: regenerated.
2006-06-02 13:33:10 +00:00
Sven Neumann 65ee6f7bb5 hide the GimpParamSpecParasite struct like we do with other custom param
2006-06-02  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpparasite.[ch]: hide the GimpParamSpecParasite
	struct like we do with other custom param specs.
2006-06-02 12:53:06 +00:00
Sven Neumann 5df0dfb289 libgimpbase/libgimpbase-docs.sgml libgimpbase/libgimpbase-sections.txt
2006-06-02  Sven Neumann  <sven@gimp.org>

	* libgimpbase/libgimpbase-docs.sgml
	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimpcpuaccel.sgml: added docs for cpu accel API.

	* libgimpbase/tmpl/gimpbaseenums.sgml
	* libgimpwidgets/tmpl/gimppatheditor.sgml: regenerated.
2006-06-02 12:43:40 +00:00
Sven Neumann 90876ca3c1 fixed entry 2006-06-02 11:57:36 +00:00
Sven Neumann 7078005f7a libgimp/gimp.[ch] removed gimp_use_cpu_accel() again. libgimp handles this
2006-06-02  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch]
	* libgimp/gimp.def: removed gimp_use_cpu_accel() again. libgimp
	handles this transparently by calling gimp_cpu_accel_set_use().
2006-06-02 11:49:51 +00:00
Sven Neumann fd972c23dc need to test for GIMP_COMPOSITE_OPTION_NOEXTENSIONS.
2006-06-02  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.c (gimp_composite_use_cpu_accel):
	need to test for GIMP_COMPOSITE_OPTION_NOEXTENSIONS.

	* libgimp/gimp.c (gimp_config): call gimp_set_use_cpu_accel() from
	here, not in gimp_main().

	* plug-ins/common/sel_gauss.c: applied patch from Loren Merritt
	that adds MMX code to boost the plug-in speed (bug #342860).
2006-06-02 11:36:16 +00:00
Sven Neumann 7777e97eba moved semicolon to the right place 2006-06-02 10:40:15 +00:00
Sven Neumann 13ee1107c8 updated.
* libgimpbase/gimpbase.def: updated.
2006-06-02 10:00:19 +00:00
Sven Neumann db75625d27 Moved the CPU detection code to libgimpbase (see bug #342860):
2006-06-02  Sven Neumann  <sven@gimp.org>

	Moved the CPU detection code to libgimpbase (see bug #342860):

	* app/base/Makefile.am
	* app/base/cpu-accel.[ch]
	* app/base/test-cpu-accel.c: removed here...

	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpbase/gimpcpuaccel.[ch]

	* libgimpbase/test-cpu-accel.c: ... and added here again with
	some API changes.

	* app/composite/Makefile.am
	* app/composite/make-installer.py: changed accordingly.

	* app/composite/gimp-composite-*-installer.c: regenerated.

	* libgimp/gimp.c (gimp_main): call gimp_set_use_cpu_accel().
2006-06-02 09:58:03 +00:00
Sven Neumann 66a47904da news flash 2006-06-02 06:52:51 +00:00
Kevin Cozens 5c5ddcf9ed Fixed the definition of fmod for real this time. Previous commit fixed the
2006-06-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Fixed the definition of fmod for
	real this time. Previous commit fixed the definition of truncate.
2006-06-02 02:34:44 +00:00
Kevin Cozens ddea9b01e8 Fixed the definition of fmod.
2006-06-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Fixed the definition of fmod.
2006-06-02 01:47:19 +00:00
Michael Natterer 3f7b118225 cursors/Makefile.am cursors/modifier-bad.png
2006-06-01  Michael Natterer  <mitch@gimp.org>

	* cursors/Makefile.am
	* cursors/modifier-bad.png
	* cursors/xbm/modifier-bad-mask.xbm
	* cursors/xbm/modifier-bad.xbm: new "bad" cursor
	modifier. Replaces the "bad" cursor.

	* cursors/gimp-tool-cursors.xcf: added it here too.

	* app/widgets/widgets-enums.h: added GIMP_CURSOR_MODIFIER_BAD.

	* app/widgets/gimpcursor.c: add the bad modifier. Leave the bad
	cursor there for now.

	* app/display/gimpdisplayshell-callbacks.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolortool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c: use the modifier instead of the
	cursor. Fixes hotspot jumping when switching between normal and
	bad cursors. The changed cursor_update() functions even make more
	sense IMHO. Fixes bug #158407.
2006-06-01 20:30:52 +00:00
Sven Neumann 6c25ae9374 Added basic framework for plug-ins to access the use_cpu_accel
2006-06-01  Sven Neumann  <sven@gimp.org>

	Added basic framework for plug-ins to access the use_cpu_accel
	configuration (bug #342860):

	* app/composite/gimp-composite.[ch]: added new function
	gimp_composite_use_cpu_accel().

	* libgimpbase/gimpprotocol.[ch]: added use_cpu_accel to the config
	message.

	* app/plug-in/gimppluginmanager-call.c: pass the return value of
	gimp_composite_use_cpu_accel() for config.use_cpu_accel.

	* libgimp/gimp.[ch]: make the config value accessible by means of
	a new function gimp_use_cpu_accel().

	* libgimp/gimp.def: updated.
2006-06-01 15:34:58 +00:00
Sven Neumann a3e967f4e8 applied patch from Loren Merritt that replaces the floating-point
2006-06-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: applied patch from Loren Merritt
	that replaces the floating-point implementation of selective
	gaussian blur with a fixed-point version (bug #342860).
2006-06-01 10:16:56 +00:00
William Skaggs 8387dd98a4 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.[ch]: add "constrain" property
	to specify whether to clip at image bounds when computing
	dimensions.

	* app/tools/gimpcroptool.c
	* app/tools/gimpnewrectselecttool.c: set "constrain" to TRUE.

	* app/tools/gimpellipseselecttool.c: set "constrain" to FALSE.

	Hopefully fixes bug #329817.
2006-05-31 19:45:38 +00:00
Michael Natterer 2606a93524 removed #define SHADOW 1, it's not a constant value. Use the
2006-05-31  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscale.c: removed #define SHADOW 1, it's
	not a constant value. Use the GtkRange::trough-border style
	property instead.
2006-05-31 10:16:08 +00:00
Raphael Quinet 088950c283 protect against broken XMP blocks using rdf:Alt instead of rdf:Seq. Fixes
2006-05-30  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-parse.c: protect against broken XMP blocks
	using rdf:Alt instead of rdf:Seq.  Fixes bug #343315.

	* plug-ins/metadata/xmpdump.c (main): call g_set_prgname() to get
	better messages from glib.

	* data/images/gimp-splash.png: new splash screen, waiting for the
	old animation feature to be restored.
2006-05-30 22:20:53 +00:00
Michael Natterer 35c5434b10 Honor active components when pasting. Fixes bug #150845:
2006-05-30  Michael Natterer  <mitch@gimp.org>

	Honor active components when pasting. Fixes bug #150845:

	* app/core/gimplayer-floating-sel.c (floating_sel_composite):
	don't temporarily set all image components to active while
	compositing.

	* app/core/gimpimage.c (gimp_image_set_component_active):
	relax()/rigor() the floating selection around setting the "active"
	flag. Also make sure the projection is updated correctly.
2006-05-30 21:22:34 +00:00
Sven Neumann e1e77738a0 typo 2006-05-30 12:54:26 +00:00
Michael Natterer 8903c67fb0 app/widgets/gimpdataeditor.c (gimp_data_editor_name_activate) strip the
2006-05-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdataeditor.c (gimp_data_editor_name_activate)
	* app/widgets/gimpdatafactoryview.c
	(gimp_data_factory_view_tree_name_edited): strip the newly
	entered name from whitespace and reject empty names.
2006-05-30 11:56:42 +00:00
Manish Singh ed4620dc43 GIMP_BATCH_INTERPRETER can be set in the environment to override the
2006-05-30  Manish Singh  <yosh@gimp.org>

        * app/batch.c (batch_run): GIMP_BATCH_INTERPRETER can be set in
        the environment to override the default batch interpreter procedure.

        * plug-ins/pygimp/plug-ins/happy-valley-relief.py: basic python
        code evaluator function.

        * plug-ins/pygimp/plug-ins/Makefile.am: add above file.
2006-05-30 09:41:36 +00:00
Manish Singh 587763d394 Other code places should allow menu paths to be None too.
2006-05-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Other code places should allow
        menu paths to be None too.
2006-05-30 08:47:44 +00:00
Manish Singh 48de9ef030 Allow menu paths to be None.
2006-05-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Allow menu paths to be None.
2006-05-30 08:39:31 +00:00
Manish Singh 30073a15cb #define _GNU_SOURCE instead of _SVID_SOURCE, so we get all the
2006-05-30  Manish Singh  <yosh@gimp.org>

        * app/file/gimprecentlist.c: #define _GNU_SOURCE instead of
        _SVID_SOURCE, so we get all the declarations we need. Fixes
        bug #342390.
2006-05-30 07:22:53 +00:00
Manish Singh b3ec60ac56 libgimpwidgets/gimpchainbutton.c #include "config.h"
2006-05-29  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/gimpchainbutton.c
        * libgimpwidgets/gimppixmap.c: #include "config.h"
2006-05-30 02:01:39 +00:00
Manish Singh c7ba1223c3 app/errors.c app/main.c app/file/gimprecentlist.c libgimp/gimp.c
2006-05-29  Manish Singh  <yosh@gimp.org>

        * app/errors.c
        * app/main.c
        * app/file/gimprecentlist.c
        * libgimp/gimp.c
        * libgimpbase/gimpsignal.c
        * modules/cdisplay_lcms.c
        * modules/cdisplay_proof.c
        * modules/controller_midi.c
        * plug-ins/common/gqbist.c
        * plug-ins/metadata/xmp-schemas.h: miscellaneous fixes for building
        with -ansi -pedantic. Mostly #define _FOO_SOURCE stuff. Thanks to
        Daniel Richard G. for the patch. Fixes bug #342390.
2006-05-30 01:55:42 +00:00
Tor Lillqvist 76596605cd Sync.
2006-05-30  Tor Lillqvist  <tml@novell.com>

	* libgimpwidgets/gimpwidgets.def: Sync.
2006-05-29 22:28:15 +00:00
Sven Neumann cdfb4bcc29 use PANGO_DISABLE_DEPRECATED for pango < 0.13.0.
2006-05-29  Sven Neumann  <sven@gimp.org>

	* configure.in: use PANGO_DISABLE_DEPRECATED for pango < 0.13.0.

	* app/text/gimptext-vectors.c: added const qualifiers to the
	FT_Vector parameters of the FT_Outline_Funcs.
2006-05-29 20:12:52 +00:00
Sven Neumann 80bddf14a9 code cleanup; only call gtk_window_present() if called with present ==
2006-05-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factory_dialog_new_internal): code cleanup; only call
	gtk_window_present() if called with present == TRUE.
2006-05-29 16:41:18 +00:00
Sven Neumann 6ce6160966 don't choke on brush files with empty names (bug #343140).
2006-05-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrushgenerated.c (gimp_brush_generated_load): don't
	choke on brush files with empty names (bug #343140).
	(gimp_brush_generated_save): warn about brushes with empty names.
2006-05-29 15:43:05 +00:00