mirror of https://github.com/GNOME/gimp.git
put overly picky sanity checks into #ifdef GIMP_UNSTABLE ... #endif so we
2004-02-08 Sven Neumann <sven@gimp.org> * app/tools/gimptoolcontrol.c (gimp_tool_control_activate) (gimp_tool_control_halt): put overly picky sanity checks into #ifdef GIMP_UNSTABLE ... #endif so we won't get these harmless tool warnings from the stable version (bug #121074).
This commit is contained in:
parent
b15707c4e9
commit
d298be7a8c
|
@ -1,3 +1,10 @@
|
|||
2004-02-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimptoolcontrol.c (gimp_tool_control_activate)
|
||||
(gimp_tool_control_halt): put overly picky sanity checks into
|
||||
#ifdef GIMP_UNSTABLE ... #endif so we won't get these harmless
|
||||
tool warnings from the stable version (bug #121074).
|
||||
|
||||
2004-02-08 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* plug-ins/common/nova.c : access dest[alpha] only if (has_alpha);
|
||||
|
|
|
@ -122,7 +122,9 @@ void
|
|||
gimp_tool_control_activate (GimpToolControl *control)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_TOOL_CONTROL (control));
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_return_if_fail (control->active == FALSE);
|
||||
#endif
|
||||
|
||||
control->active = TRUE;
|
||||
}
|
||||
|
@ -131,7 +133,9 @@ void
|
|||
gimp_tool_control_halt (GimpToolControl *control)
|
||||
{
|
||||
g_return_if_fail (GIMP_IS_TOOL_CONTROL (control));
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_return_if_fail (control->active == TRUE);
|
||||
#endif
|
||||
|
||||
control->active = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue