No need to bail out if there is no display.
2008-04-26 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_options_notify): No need to bail out if there is no display. svn path=/trunk/; revision=25532
This commit is contained in:
parent
5743e21890
commit
2d2358b47f
2 changed files with 7 additions and 5 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangletool.c
|
||||
(gimp_rectangle_tool_options_notify): No need to bail out if there
|
||||
is no display.
|
||||
|
||||
2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangletool.c
|
||||
|
|
|
|||
|
|
@ -2193,11 +2193,7 @@ gimp_rectangle_tool_options_notify (GimpRectangleOptions *options,
|
|||
GimpRectangleToolPrivate *private;
|
||||
GimpRectangleOptionsPrivate *options_private;
|
||||
|
||||
tool = GIMP_TOOL (rect_tool);
|
||||
|
||||
if (!tool->display)
|
||||
return;
|
||||
|
||||
tool = GIMP_TOOL (rect_tool);
|
||||
private = GIMP_RECTANGLE_TOOL_GET_PRIVATE (tool);
|
||||
options_private = GIMP_RECTANGLE_OPTIONS_GET_PRIVATE (options);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue