Commit 22e0f080 authored by Hans Breuer's avatar Hans Breuer Committed by Hans Breuer

build sanity.obj app/text/makefile.msc : gimptextundo.obj

2004-04-11  Hans Breuer  <hans@breuer.org>

	* app/makefile.msc : build sanity.obj
	  app/text/makefile.msc : gimptextundo.obj
	  app/widgets/makefile.msc : gimppatternfactoryview.obj

	* plug-ins/common/winclipboard.c : don't call
	gimp_image_undo_enable() when it's not switched off.
	Otherwise the undo history would be destroyed with
	Gimp-Core-CRITICAL **: file gimpimage.c: line 1579: assertion
	`gimage->undo_freeze_count > 0' failed
parent ab01d0b9
2004-04-11 Hans Breuer <hans@breuer.org>
* app/makefile.msc : build sanity.obj
app/text/makefile.msc : gimptextundo.obj
app/widgets/makefile.msc : gimppatternfactoryview.obj
* plug-ins/common/winclipboard.c : don't call
gimp_image_undo_enable() when it's not switched off.
Otherwise the undo history would be destroyed with
Gimp-Core-CRITICAL **: file gimpimage.c: line 1579: assertion
`gimage->undo_freeze_count > 0' failed
2004-04-10 Sven Neumann <sven@gimp.org>
* app/tools/gimptexttool.c (gimp_text_tool_apply): push an undo
......
......@@ -88,6 +88,7 @@ OBJECTS = \
main.obj \
batch.obj \
errors.obj \
sanity.obj \
units.obj \
......
......@@ -36,6 +36,7 @@ OBJECTS = \
gimptextlayer-xcf.obj \
gimptextlayout.obj \
gimptextlayout-render.obj \
gimptextundo.obj \
text-enums.obj \
INCLUDES = \
......
......@@ -84,6 +84,7 @@ OBJECTS = \
gimpmenuitem.obj \
gimpnavigationpreview.obj \
gimppaletteeditor.obj \
gimppatternfactoryview.obj \
gimppreview.obj \
gimppreview-popup.obj \
gimppreviewrenderer.obj \
......
......@@ -687,7 +687,8 @@ CB_PasteImage (gboolean interactive,
CloseClipboard ();
/* shouldn't this be done by caller?? */
gimp_image_undo_enable (image_ID);
if (!gimp_image_undo_is_enabled (image_ID))
gimp_image_undo_enable (image_ID);
return bRet;
} /* CB_PasteImage */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment