Commit ccb25e37 authored by Hans Breuer's avatar Hans Breuer Committed by Hans Breuer

updated

2006-09-08  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated

	* app/paint/gimpperspectiveclone.c : error C2057: expected constant
	expression. Stack allocation of dynamic sized arrays is afaik a GCC
	extension, use g_alloca() instead.
parent 39f19aab
2006-09-08 Hans Breuer <hans@breuer.org>
* **/makefile.msc app/gimpcore.def : updated
* app/paint/gimpperspectiveclone.c : error C2057: expected constant
expression. Stack allocation of dynamic sized arrays is afaik a GCC
extension, use g_alloca() instead.
2006-09-08 Michael Natterer <mitch@gimp.org>
* app/tools/gimpperspectiveclonetool.c
......
......@@ -136,6 +136,7 @@ OBJECTS = \
gimpstrokeoptions.obj \
gimptemplate.obj \
gimptooloptions.obj \
# gimp-transform-resize.obj \
gimp-transform-utils.obj \
gimp-templates.obj \
gimptoolinfo.obj \
......
......@@ -849,7 +849,9 @@ gimp_gradient_segment_set_left_color_type
gimp_gradient_segment_set_right_color
gimp_gradient_segment_set_right_color_type
gimp_heal_get_type
gimp_heal_options_get_type
gimp_paint_core_get_type
gimp_source_core_get_type
gimp_source_options_get_type
gimp_perspective_clone_get_source_point
gimp_perspective_clone_get_type
gimp_perspective_clone_options_get_type
......@@ -522,10 +522,10 @@ gimp_perspective_clone_motion (GimpPaintCore *paint_core,
itemp_y < (tile_manager_height (src_tiles)-1))
{
guchar *src_pixel;
guchar color1[temp_buf->bytes - 1];
guchar color2[temp_buf->bytes - 1];
guchar color3[temp_buf->bytes - 1];
guchar color4[temp_buf->bytes - 1];
guchar *color1 = g_alloca (temp_buf->bytes - 1);
guchar *color2 = g_alloca (temp_buf->bytes - 1);
guchar *color3 = g_alloca (temp_buf->bytes - 1);
guchar *color4 = g_alloca (temp_buf->bytes - 1);
gdouble dx, dy;
gint k;
......
......@@ -43,7 +43,6 @@ OBJECTS = \
gimpink-undo.obj \
gimpinkoptions.obj \
gimpheal.obj \
gimphealoptions.obj \
gimppaintbrush.obj \
gimppaintcore.obj \
gimppaintcore-stroke.obj \
......@@ -51,6 +50,8 @@ OBJECTS = \
gimppaintoptions.obj \
gimppencil.obj \
gimppenciloptions.obj \
gimpperspectiveclone.obj \
gimpperspectivecloneoptions.obj \
gimpsmudge.obj \
gimpsmudgeoptions.obj \
gimpsourcecore.obj \
......
......@@ -56,6 +56,7 @@ OBJECTS = \
gimpfliptool.obj \
gimpforegroundselectoptions.obj \
gimpforegroundselecttool.obj \
gimpforegroundselecttool-undo.obj \
gimpfreeselecttool.obj \
gimpfuzzyselecttool.obj \
gimphealtool.obj \
......@@ -78,6 +79,7 @@ OBJECTS = \
gimppainttool.obj \
gimppenciltool.obj \
gimpperspectivetool.obj \
gimpperspectiveclonetool.obj \
gimpposterizetool.obj \
gimprectangleoptions.obj \
gimprectangletool.obj \
......@@ -89,6 +91,7 @@ OBJECTS = \
gimpselectionoptions.obj \
gimpselectiontool.obj \
gimpsheartool.obj \
gimpsourcetool.obj \
gimpsmudgetool.obj \
gimptextoptions.obj \
gimptexttool.obj \
......
......@@ -57,6 +57,7 @@ OBJECTS = \
gimpfileentry.obj \
gimpframe.obj \
gimphelpui.obj \
gimphintbox.obj \
gimpintcombobox.obj \
gimpintstore.obj \
gimpmemsizeentry.obj \
......
......@@ -273,6 +273,8 @@ STOCK_TOOL_VARIABLES = \
stock_tool_pencil_22 tools/stock-tool-pencil-22.png \
stock_tool_perspective_16 tools/stock-tool-perspective-16.png \
stock_tool_perspective_22 tools/stock-tool-perspective-22.png \
stock_tool_perspective_clone_16 tools/stock-tool-perspective-clone-16.png \
stock_tool_perspective_clone_22 tools/stock-tool-perspective-clone-22.png \
stock_tool_posterize_16 tools/stock-tool-posterize-16.png \
stock_tool_posterize_22 tools/stock-tool-posterize-22.png \
stock_tool_rect_select_16 tools/stock-tool-rect-select-16.png \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment