mirror of https://github.com/GNOME/gimp.git
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
This commit is contained in:
parent
3adb312e12
commit
b2ef4856b0
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue