Commit graph

8900 commits

Author SHA1 Message Date
Sven Neumann 9d32b72c6f app/base/base-types.h hide PixelSurround struct and cleaned up the
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/base/base-types.h
	* app/base/pixel-surround.[ch]: hide PixelSurround struct and
	cleaned up the PixelSurround API.

	* app/core/gimp-transform-region.c: changed accordingly. Also
	sprinkled some const qualifiers.

svn path=/trunk/; revision=21978
2007-02-23 09:50:42 +00:00
Sven Neumann 3f7c188f59 made tile_ref_count a static variable and added a function to access it.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/base/tile.[ch]: made tile_ref_count a static variable and
	added a function to access it.  Declared other (unused) global
	counters as static variables and moved them into #ifdefs.

	* app/base/tile-swap.c: use the function instead of declaring
	tile_ref_count as extern.

	* app/base/tile-manager.c
	* app/base/pixel-surround.c: cosmetics.


svn path=/trunk/; revision=21975
2007-02-22 22:28:24 +00:00
Sven Neumann fbdafbb7cd use a named template to avoid code duplication.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/dialogs/authors.xsl: use a named template to avoid code
	duplication.


svn path=/trunk/; revision=21972
2007-02-22 08:04:16 +00:00
Sven Neumann d9b5f03230 added an explicit dependency on authors.h.
2007-02-21  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am: added an explicit dependency on authors.h.


svn path=/trunk/; revision=21969
2007-02-21 16:47:36 +00:00
Tor Lillqvist 0adf7e22da Guard against event being NULL.
2007-02-20  Tor Lillqvist  <tml@novell.com>

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_sel_changed): Guard against event being
	NULL.


svn path=/trunk/; revision=21963
2007-02-20 19:50:32 +00:00
Sven Neumann 80e2e6bf47 changed XPath expression to only match on contributors that have been
2007-02-20  Sven Neumann  <sven@gimp.org>

        * app/dialogs/authors.xsl: changed XPath expression to only match
        on contributors that have been active in the 2.4 development cycle.


svn path=/trunk/; revision=21959
2007-02-20 11:39:40 +00:00
Sven Neumann 63e7ba1bfc let authors.h depend on authors.xsl.
2007-02-20  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am: let authors.h depend on authors.xsl.

	* app/dialogs/authors.h: removed from repository, it's 
generated.

	* app/dialogs/authors.xsl: only include contributors that have
	contributed to GIMP 2.x. We might want to limit this even 
further.


svn path=/trunk/; revision=21956
2007-02-20 00:31:33 +00:00
Karine Delvare cca7049d61 authors.dtd added mandatory last-active attribute, and added several 2.4
2007-02-19  Karine Delvare  <edhel@gimp.org>

	* authors.dtd
	* authors.xml: added mandatory last-active attribute, and added
	several 2.4 contributors.

	* AUTHORS
	* app/dialogs/authors.h: regenerated.


svn path=/trunk/; revision=21955
2007-02-19 21:09:18 +00:00
Michael Natterer 4ed0eb238f app/plug-in/gimpplugin.c (gimp_plug_in_add_temp_proc) remove duplicate
2007-02-19  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin.c (gimp_plug_in_add_temp_proc)
	* app/plug-in/gimpplugindef.c (gimp_plug_in_def_add_procedure):
	remove duplicate procedures before adding the new one.
	
	* app/plug-in/gimpplugin-message.c
	(gimp_plug_in_handle_proc_install): don't remove duplicates here.


svn path=/trunk/; revision=21945
2007-02-19 09:36:19 +00:00
Michael Natterer be5fbd643e app/plug-in/Makefile.am app/plug-in/plug-in-types.h removed...
2007-02-19  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in/plug-in-types.h
	* app/plug-in/plug-in-def.[ch]: removed...

	* app/plug-in/gimpplugindef.[ch]: ...and added as object. Merged
	locale and help domain setters into one function each.

	* app/plug-in/gimpplugin-message.c
	* app/plug-in/gimpplugin.[ch]
	* app/plug-in/gimppluginmanager-call.[ch]
	* app/plug-in/gimppluginmanager-file.c
	* app/plug-in/gimppluginmanager.c
	* app/plug-in/plug-in-rc.c
	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly.

	* app/pdb/plug_in_cmds.c: regenerated.


svn path=/trunk/; revision=21944
2007-02-19 01:16:05 +00:00
Michael Natterer ab239c3d63 app/text/gimptext-parasite.c use g_strtod() instead of atof() because
2007-02-18  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptext-parasite.c
	* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
	because these files have to parse strings that never had a clearly
	specified format.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/imagemap/imap_cern.l
	* plug-ins/imagemap/imap_csim.l
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
	atof() because scheme code and imagemap files with wrong decimal
	separators are clearly broken and should be rejected.

	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_csim_parse.c
	* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.

	* plug-ins/common/sample_colorize.c: round numbers using sane code
	instead of sprintf() and atod().

	* plug-ins/Lighting/lighting_ui.c: removed some dead code.


svn path=/trunk/; revision=21942
2007-02-18 20:01:48 +00:00
Sven Neumann 4be5892ef3 show an informational message in the statusbar. There is otherwise no
2007-02-18  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-commands.c (edit_copy_cmd_callback): show an
	informational message in the statusbar. There is otherwise no
	indication that something has happened.


svn path=/trunk/; revision=21940
2007-02-18 18:50:55 +00:00
Michael Natterer 36a955a5ef add "locale_domain" and "help_domain" members and APIs to get/set them.
2007-02-18  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimppluginprocedure.[ch]: add "locale_domain" and
	"help_domain" members and APIs to get/set them. Removed locale and
	help domain parameters from all other functions.

	* app/plug-in/gimpplugin.c (gimp_plug_in_add_temp_proc)
	* app/plug-in/plug-in-def.c (plug_in_def_add_procedure)
	(plug_in_def_set_locale_domain_name)
	(plug_in_def_set_help_domain_name): make sure all plug-in procedures
	have locale and help domains.

	* app/plug-in/gimppluginmanager.[ch]: removed function
	gimp_plug_in_manager_get_label().

	* app/plug-in/gimppluginmanager.c
	* app/plug-in/gimpplugin-cleanup.c
	* app/actions/plug-in-actions.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpfileprocview.c
	* app/widgets/gimpimagepropview.c: changed (simplified) accordingly.


svn path=/trunk/; revision=21937
2007-02-18 14:25:34 +00:00
Sven Neumann 1504a7f5bd skip Windows ICO as writable format. It's not well suited as a general
2007-02-18  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppixbuf.c (gimp_pixbuf_targets_add): skip 
Windows
	ICO as writable format. It's not well suited as a general image
	exchange format and the GdkPixbuf save routine seems to be 
buggy.


svn path=/trunk/; revision=21936
2007-02-18 08:57:16 +00:00
Michael Natterer d212161c00 app/core/gimp-utils.[ch] app/core/gimp.c app/widgets/gimpcontrollerinfo.c
2007-02-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-utils.[ch]
	* app/core/gimp.c
	* app/widgets/gimpcontrollerinfo.c
	* libgimpwidgets/gimpcontroller.c: removed various boolean_handled
	signal accumulators and use g_signal_accumulator_true_handled().


svn path=/trunk/; revision=21933
2007-02-17 11:45:59 +00:00
Sven Neumann 207d8d1ee1 use GTK_STOCK_SAVE as icon for the message dialog.
2007-02-16  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c: use GTK_STOCK_SAVE as icon
	for the message dialog.

	* app/actions/data-commands.c (data_delete_cmd_callback): improved
	delete dialog.


svn path=/trunk/; revision=21928
2007-02-16 12:59:10 +00:00
Sven Neumann ccafc8d3bd app/actions/plug-in-actions.c added utility function to retrieve the
2007-02-14  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c
	* app/plug-in/gimppluginprocedure.[ch]: added utility function to
	retrieve the translated blurb of a plug-in procedure. Make sure
	that gettext isn't called with the empty string.


svn path=/trunk/; revision=21917
2007-02-14 13:38:09 +00:00
Sven Neumann d09c931131 when multi-line strings end up being passed to the statusbar, only show
2007-02-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: when multi-line strings end up
	being passed to the statusbar, only show the first line.


svn path=/trunk/; revision=21916
2007-02-14 13:13:40 +00:00
Sven Neumann 462b5e0b45 update the progress less often.
2007-02-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c: update the progress less often.


svn path=/trunk/; revision=21913
2007-02-13 16:33:41 +00:00
Sven Neumann 0d5bf0ffda don't use button as parent widget, it might be NULL.
2007-02-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerlist.c 
(gimp_controller_list_edit_clicked):
	don't use button as parent widget, it might be NULL.


svn path=/trunk/; revision=21907
2007-02-13 08:08:57 +00:00
Sven Neumann 0a203e30c4 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgetstypes.h
2007-02-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpstringcombobox.[ch]: added GimpStringComboBox.

	* libgimpwidgets/gimppropwidgets.[ch]: added a prop widget
	constructor that uses the new widget.

	* libgimpwidgets/gimpwidgets.def: updated.

	* app/widgets/gimpcontrollereditor.c: use a GimpStringComboBox if
	the module specifies a tree model with string values.

	* modules/gimpinputdevicestore.c: minor cleanup.

	* modules/controller_linux_input.c: keep a pointer to the input
	device store and unref it in the finalizer.


svn path=/trunk/; revision=21900
2007-02-12 15:29:45 +00:00
Sven Neumann 4f6e2969c6 use a GimpDialog instead of a GimpViewableDialog.
2007-02-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerlist.c (gimp_controller_list_edit_clicked):
	use a GimpDialog instead of a GimpViewableDialog.


svn path=/trunk/; revision=21899
2007-02-12 13:12:47 +00:00
Sven Neumann 32514d2d82 app/widgets/gimppropwidgets.c most property widgets rely on a writable
2007-02-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c
	* libgimpwidgets/gimppropwidgets.c: most property widgets rely on
	a writable property. Check for that or make the widget non-editable
	if the G_PARAM_WRITABLE flag is unset.


svn path=/trunk/; revision=21898
2007-02-12 11:01:08 +00:00
Sven Neumann 0f3392aac5 fine-tuning
svn path=/trunk/; revision=21897
2007-02-12 10:39:50 +00:00
Sven Neumann 6ea68a7d48 minor refactoring.
2007-02-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollereditor.c: minor refactoring.

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_label_new): allow
	this function to be used with properties that are transformable 
to
	string values, not only with string properties.


svn path=/trunk/; revision=21896
2007-02-12 08:44:25 +00:00
Michael Natterer b1093d65a3 plug leak introduced with last commit: simply always use the deserialized
2007-02-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c (gimp_container_deserialize): plug leak
	introduced with last commit: simply always use the deserialized
	name, also on ojects already existing in the container.


svn path=/trunk/; revision=21890
2007-02-11 12:48:41 +00:00
Michael Natterer 8cffeb0689 Made templates say "ppi" instead of "dpi". Fixes bug #376990:
2007-02-10  Michael Natterer  <mitch@gimp.org>

	Made templates say "ppi" instead of "dpi". Fixes bug #376990:

	* app/core/gimp-templates.c
	(gimp_templates_migrate_get_child_by_name): find the child also
	if the name differs only in the substrings "dpi" and "ppi".

	* app/core/gimpcontainer.c (gimp_container_deserialize): if we
	found a child, give it the deserialized name if it isn't the same
	as its old name.

	* etc/templaterc: applied patch from Michael Schumacher that
	replaces "dpi" by "ppi".


svn path=/trunk/; revision=21888
2007-02-10 10:37:20 +00:00
Michael Natterer f5f93181da renamed newly added functions to gimp_environ_table_str_hash() and
2007-02-09  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpenvirontable.c: renamed newly added functions to
	gimp_environ_table_str_hash() and gimp_environ_table_str_equal()
	and always use them. Move the #ifdef G_OS_WIN32 inside the
	functions.


svn path=/trunk/; revision=21884
2007-02-09 16:10:21 +00:00
Tor Lillqvist 822065c0b0 Win32-only case- insensitive hash and equality functions.
2007-02-09  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpenvirontable.c
	(gimp_environ_table_case_insensitive_hash)
	(gimp_environ_table_case_insensitive_equal): Win32-only case-
	insensitive hash and equality functions.
	(gimp_environ_table_load): On Win32, use the above functions for
	the vars hash table. This fixes the problem that occurs when the
	actual PATH environment variable is spelled Path (as it seems to
	often be), but the default.env file as set up by the installer
	provides PATH. They didn't match so both would be passed to the
	plug-in child process, and apparently which one then was used to
	look for DLLs was more or less random. If it was the original
	Path, it didn't contain the directories the installer put in PATH
	in default.env, and plug-ins didn't find the DLLs.


svn path=/trunk/; revision=21883
2007-02-09 11:45:00 +00:00
Sven Neumann 538378e79c moved ratio entry up.
2007-02-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c: moved ratio entry up.


svn path=/trunk/; revision=21880
2007-02-09 08:36:27 +00:00
Michael Natterer 181c9efbba ellipsize the module info labels so they don't make the dialog grow when
2007-02-09  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c (dialog_info_init): ellipsize the
	module info labels so they don't make the dialog grow when
	browsing the module list.


svn path=/trunk/; revision=21879
2007-02-08 23:38:29 +00:00
Sven Neumann d1a2697c80 moved duplicated code to utility function
2007-02-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: moved duplicated code to
	utility function gimp_rectangle_tool_set_highlight().


svn path=/trunk/; revision=21878
2007-02-08 23:19:57 +00:00
Michael Natterer 1da4a19fe7 app/paint/paint-types.h move opaque typedefs of object instances to
2007-02-08  Michael Natterer  <mitch@gimp.org>

	* app/paint/paint-types.h
	* app/paint/*.h: move opaque typedefs of object instances to
	paint-types.h, don't typedef empty class stuctures as their parent
	class (gtk-doc gets confused), cleanups.


svn path=/trunk/; revision=21877
2007-02-08 22:58:22 +00:00
Sven Neumann b76ad2b84e app/tools/gimprectangleoptions.c moved code around.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	* app/widgets/gimppropwidgets.[ch]: moved code around.


svn path=/trunk/; revision=21876
2007-02-08 22:49:50 +00:00
Sven Neumann aba50bbc14 code cleanup. Pack the widgets the way we usually do this.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	code cleanup. Pack the widgets the way we usually do this.


svn path=/trunk/; revision=21875
2007-02-08 16:59:40 +00:00
Sven Neumann aac28d11ca applied patch from Robert Helgesson. Adds documentation (bug #405760).
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c: applied patch from Robert
	Helgesson. Adds documentation (bug #405760).

svn path=/trunk/; revision=21874
2007-02-08 16:40:46 +00:00
Sven Neumann fbc67ff207 reduced default spacing.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_new_with_range): reduced default spacing.

	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): don't
	increase the box's spacing.

	* app/tools/gimprectangleoptions.c: added portrait/landscape
	buttons.

	* app/widgets/gimppropwidgets.c (gimp_prop_aspect_ratio_new):
	reduced default width of entry.  Swap width and height when the
	aspect changes and fixed-aspect is chosen.

svn path=/trunk/; revision=21873
2007-02-08 16:36:23 +00:00
Sven Neumann 938b316dae app/tools/gimprectangleoptions.c cleaned out some cruft. Still work in
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	* app/widgets/gimppropwidgets.[ch]: cleaned out some cruft. Still
	work in progress.

svn path=/trunk/; revision=21872
2007-02-08 15:35:49 +00:00
Sven Neumann 525b8bd6b5 app/widgets/widgets-enums.c moved enum GimpAspectType to libgimpwidgets.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.c
	* libgimpwidgets/gimpwidgetsenums.[ch]: moved enum GimpAspectType
	to libgimpwidgets.

	* libgimpwidgets/gimpratioentry.[ch]: added property "aspect" with
	getters and setters.

	* libgimpwidgets/gimpwidgets.def: updated.


svn path=/trunk/; revision=21867
2007-02-08 10:56:17 +00:00
Michael Natterer f7bfea19d9 Unbreak rectangle select tool undo handling a bit:
2007-02-08  Michael Natterer  <mitch@gimp.org>

	Unbreak rectangle select tool undo handling a bit:

	* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_select):
	add boolean return value indicating if something was actually selected.

	(gimp_rect_select_tool_rectangle_changed): peek the newly pushed
	undo only if we selected something.


svn path=/trunk/; revision=21866
2007-02-08 09:54:09 +00:00
Michael Natterer fc761f6ed5 remove enum GimpColorPickMode...
2007-02-07  Michael Natterer  <mitch@gimp.org>

	* app/tools/tools-enums.[ch]: remove enum GimpColorPickMode...

	* app/widgets/widgets-enums.[ch]: ...and add it here.

	* app/widgets/gimpgradienteditor.c: merge separate functions for
	picking FG and BG colors and update the new color area from the
	merged function.


svn path=/trunk/; revision=21863
2007-02-07 17:53:16 +00:00
Sven Neumann ab406a1b07 app/dialogs/preferences-dialog.c slightly increased the height of color
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c
	* app/widgets/gimpgrideditor.c: slightly increased the height of
	color buttons.

svn path=/trunk/; revision=21862
2007-02-07 17:24:09 +00:00
Michael Natterer d6ee118027 applied patch from Joao S. O. Bueno Calligaris which adds a preview for
2007-02-07  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.[ch]: applied patch from Joao
	S. O. Bueno Calligaris which adds a preview for the color the
	cursor is currently hovering and reduces excess precision when
	displaying color components and gradient positions (bug #400907).


svn path=/trunk/; revision=21858
2007-02-07 13:50:08 +00:00
Sven Neumann 6e134e6d1c don't compare floating point numbers for equality.
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c: don't compare floating
	point numbers for equality.


svn path=/trunk/; revision=21857
2007-02-07 09:12:55 +00:00
Sven Neumann f389d32a5d #define DBUS_API_SUBJECT_TO_CHANGE to fix compilation with outdated
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/gui/gui.c: #define DBUS_API_SUBJECT_TO_CHANGE to fix
	compilation with outdated versions of D-Bus.


svn path=/trunk/; revision=21856
2007-02-07 08:27:36 +00:00
Sven Neumann ea4ed72e88 app/actions/view-actions.c app/actions/view-commands.[ch]
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/display/gimpdisplayshell.[ch]
	* app/display/gimpdisplayshell-scale.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in: applied patch from Robert Helgesson 
that
	adds "Revert Zoom" functionality (bug #338168).


svn path=/trunk/; revision=21855
2007-02-07 08:13:44 +00:00
Sven Neumann 4bb1692f2d made time a property and added utility functions to work the undo's age.
2007-02-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpundo.[ch]: made time a property and added utility
	functions to work the undo's age.
	
	* app/tools/gimptexttool.c: use the utility functions.


svn path=/trunk/; revision=21854
2007-02-06 09:05:04 +00:00
Sven Neumann 9e1202f025 let the return value indicate whether the file has been saved.
2007-02-05  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c (file_save_dialog_save_image):
	let the return value indicate whether the file has been saved.
	(file_save_dialog_response): only hide the dialog after the 
image
	has been saved.


svn path=/trunk/; revision=21852
2007-02-05 20:07:42 +00:00
Michael Natterer bdc91d6c52 Remove support for the old undo pop and free cruft:
2007-02-03  Michael Natterer  <mitch@gimp.org>

	Remove support for the old undo pop and free cruft:

	* app/core/core-types.h: remove typedefs GimpUndoPopFunc and
	GimpUndoFreeFunc.

	* app/core/gimpundo.[ch]: remove members and properties size,
	data, pop_func and free_func.

	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push): remove
	parameters size, struct_size, pop_func and free_func.

	* app/core/gimpimage-undo-push.c
	* app/tools/gimptransformtool.c
	* app/paint/gimpink.c
	* app/paint/gimppaintcore.c: change calls to above function
	accordingly.


svn path=/trunk/; revision=21845
2007-02-03 22:25:32 +00:00
Michael Natterer a95bbc5daf implement GIMP_UNDO_FS_TO_LAYER.
2007-02-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpfloatingselundo.[ch]: implement GIMP_UNDO_FS_TO_LAYER.

	* app/core/gimpimage-undo-push.c: use it. Also changed
	gimp_image_undo_push_cantundo() to not pass a pop function to
	gimp_image_undo_push().


svn path=/trunk/; revision=21844
2007-02-03 21:58:12 +00:00