Commit b2ef4856 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

set core->saved_proj_tiles to NULL after unrefing them.

2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_start): set
	core->saved_proj_tiles to NULL after unrefing them.

	* app/paint/gimppaintcore.h: whitespace fixes.


svn path=/trunk/; revision=22210
parent 3adb312e
2007-03-31 Michael Natterer <mitch@gimp.org>
* app/paint/gimppaintcore.c (gimp_paint_core_start): set
core->saved_proj_tiles to NULL after unrefing them.
* app/paint/gimppaintcore.h: whitespace fixes.
2007-03-31 Michael Natterer <mitch@gimp.org>
* app/tools/gimprectangleoptions.[ch]: made the
......@@ -286,6 +286,9 @@ gimp_paint_core_real_push_undo (GimpPaintCore *core,
NULL);
}
/* public functions */
void
gimp_paint_core_paint (GimpPaintCore *core,
GimpDrawable *drawable,
......@@ -362,6 +365,8 @@ gimp_paint_core_start (GimpPaintCore *core,
if (core->saved_proj_tiles)
tile_manager_unref (core->saved_proj_tiles);
core->saved_proj_tiles = NULL;
if (core->use_saved_proj)
{
GimpPickable *pickable;
......
......@@ -155,14 +155,14 @@ TempBuf * gimp_paint_core_get_orig_proj (GimpPaintCore *core,
void gimp_paint_core_paste (GimpPaintCore *core,
PixelRegion *paint_maskPR,
GimpDrawable *drawable,
gdouble paint_opacity,
gdouble image_opacity,
gdouble paint_opacity,
gdouble image_opacity,
GimpLayerModeEffects paint_mode,
GimpPaintApplicationMode mode);
void gimp_paint_core_replace (GimpPaintCore *core,
PixelRegion *paint_maskPR,
GimpDrawable *drawable,
gdouble paint_opacity,
gdouble paint_opacity,
gdouble image_opacity,
GimpPaintApplicationMode mode);
......
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