gimp r26788 - trunk/app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26788 - trunk/app/tools
- Date: Wed, 27 Aug 2008 08:21:34 +0000 (UTC)
Author: neo
Date: Wed Aug 27 08:21:34 2008
New Revision: 26788
URL: http://svn.gnome.org/viewvc/gimp?rev=26788&view=rev
Log:
fixed compilation
Modified:
trunk/app/tools/gimptransformtool.c
Modified: trunk/app/tools/gimptransformtool.c
==============================================================================
--- trunk/app/tools/gimptransformtool.c (original)
+++ trunk/app/tools/gimptransformtool.c Wed Aug 27 08:21:34 2008
@@ -1699,17 +1699,11 @@
GimpTransformOptions *options = GIMP_TRANSFORM_TOOL_GET_OPTIONS (tr_tool);
gboolean show_transform;
- if ((options->preview_type == GIMP_TRANSFORM_PREVIEW_TYPE_IMAGE ||
- options->preview_type == GIMP_TRANSFORM_PREVIEW_TYPE_IMAGE_GRID) &&
- options->type == GIMP_TRANSFORM_TYPE_LAYER &&
- options->direction == GIMP_TRANSFORM_FORWARD)
- {
- show_transform = TRUE;
- }
- else
- {
- show_transfor = FALSE;
- }
+ show_transform =
+ ((options->preview_type == GIMP_TRANSFORM_PREVIEW_TYPE_IMAGE ||
+ options->preview_type == GIMP_TRANSFORM_PREVIEW_TYPE_IMAGE_GRID) &&
+ options->type == GIMP_TRANSFORM_TYPE_LAYER &&
+ options->direction == GIMP_TRANSFORM_FORWARD);
gimp_display_shell_set_show_transform (GIMP_DISPLAY_SHELL (display->shell),
show_transform);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]