mirror of https://github.com/GNOME/gimp.git
Watch out! Sven starts to dig into the mysteries of painting and inking!
--Sven
This commit is contained in:
parent
48627bc821
commit
061dc89df7
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 14 11:42:49 MEST 1999 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/ink.c: we were leaking a blob at each button_press
|
||||
|
||||
Tue Jul 13 22:48:37 BST 1999 Andy Thomas <alt@gimp.org>
|
||||
|
||||
* plug-ins/sel2path/sel2path.c
|
||||
|
|
|
@ -876,6 +876,10 @@ ink_button_release (Tool *tool,
|
|||
/* Set tool state to inactive -- no longer painting */
|
||||
tool->state = INACTIVE;
|
||||
|
||||
/* free the last blob */
|
||||
g_free (ink_tool->last_blob);
|
||||
ink_tool->last_blob = NULL;
|
||||
|
||||
ink_finish (ink_tool, gimage_active_drawable (gdisp->gimage), tool->ID);
|
||||
gdisplays_flush ();
|
||||
}
|
||||
|
@ -1573,7 +1577,7 @@ tools_free_ink (Tool *tool)
|
|||
if (ink_tool->core)
|
||||
draw_core_free (ink_tool->core);
|
||||
|
||||
/* Free the last blob, if any */
|
||||
/* Free the last blob, if any */
|
||||
if (ink_tool->last_blob)
|
||||
g_free (ink_tool->last_blob);
|
||||
|
||||
|
|
|
@ -876,6 +876,10 @@ ink_button_release (Tool *tool,
|
|||
/* Set tool state to inactive -- no longer painting */
|
||||
tool->state = INACTIVE;
|
||||
|
||||
/* free the last blob */
|
||||
g_free (ink_tool->last_blob);
|
||||
ink_tool->last_blob = NULL;
|
||||
|
||||
ink_finish (ink_tool, gimage_active_drawable (gdisp->gimage), tool->ID);
|
||||
gdisplays_flush ();
|
||||
}
|
||||
|
@ -1573,7 +1577,7 @@ tools_free_ink (Tool *tool)
|
|||
if (ink_tool->core)
|
||||
draw_core_free (ink_tool->core);
|
||||
|
||||
/* Free the last blob, if any */
|
||||
/* Free the last blob, if any */
|
||||
if (ink_tool->last_blob)
|
||||
g_free (ink_tool->last_blob);
|
||||
|
||||
|
|
|
@ -876,6 +876,10 @@ ink_button_release (Tool *tool,
|
|||
/* Set tool state to inactive -- no longer painting */
|
||||
tool->state = INACTIVE;
|
||||
|
||||
/* free the last blob */
|
||||
g_free (ink_tool->last_blob);
|
||||
ink_tool->last_blob = NULL;
|
||||
|
||||
ink_finish (ink_tool, gimage_active_drawable (gdisp->gimage), tool->ID);
|
||||
gdisplays_flush ();
|
||||
}
|
||||
|
@ -1573,7 +1577,7 @@ tools_free_ink (Tool *tool)
|
|||
if (ink_tool->core)
|
||||
draw_core_free (ink_tool->core);
|
||||
|
||||
/* Free the last blob, if any */
|
||||
/* Free the last blob, if any */
|
||||
if (ink_tool->last_blob)
|
||||
g_free (ink_tool->last_blob);
|
||||
|
||||
|
|
|
@ -876,6 +876,10 @@ ink_button_release (Tool *tool,
|
|||
/* Set tool state to inactive -- no longer painting */
|
||||
tool->state = INACTIVE;
|
||||
|
||||
/* free the last blob */
|
||||
g_free (ink_tool->last_blob);
|
||||
ink_tool->last_blob = NULL;
|
||||
|
||||
ink_finish (ink_tool, gimage_active_drawable (gdisp->gimage), tool->ID);
|
||||
gdisplays_flush ();
|
||||
}
|
||||
|
@ -1573,7 +1577,7 @@ tools_free_ink (Tool *tool)
|
|||
if (ink_tool->core)
|
||||
draw_core_free (ink_tool->core);
|
||||
|
||||
/* Free the last blob, if any */
|
||||
/* Free the last blob, if any */
|
||||
if (ink_tool->last_blob)
|
||||
g_free (ink_tool->last_blob);
|
||||
|
||||
|
|
Loading…
Reference in New Issue