Commit 79617193 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

libgimpwidgets/gimpintstore.c please the overly pedantic IRIX MIPSpro

2004-11-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintstore.c
	* app/vectors/gimpvectors-import.c: please the overly pedantic
	IRIX MIPSpro compiler and don't initialize structs with
	non-constant values.
parent 0dc71574
2004-11-11 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpintstore.c
* app/vectors/gimpvectors-import.c: please the overly pedantic
IRIX MIPSpro compiler and don't initialize structs with
non-constant values.
2004-11-10 Sven Neumann <sven@gimp.org>
* app/file/file-open.c (file_open_layer): add the image to the
......
......@@ -686,7 +686,11 @@ svg_handler_rect_start (SvgHandler *handler,
if (rx)
{
GimpCoords end = { x + width, y + ry, 1.0, 0.5, 0.5, 0.5 };
GimpCoords end = { 0.0, 0.0, 1.0, 0.5, 0.5, 0.5 };
end.x = x + width;
end.y = y + ry;
gimp_bezier_stroke_arcto (stroke, rx, ry, 0, FALSE, TRUE, &end);
}
......@@ -696,7 +700,11 @@ svg_handler_rect_start (SvgHandler *handler,
if (rx)
{
GimpCoords end = { x + width - rx, y + height, 1.0, 0.5, 0.5, 0.5 };
GimpCoords end = { 0.0, 0.0, 1.0, 0.5, 0.5, 0.5 };
end.x = x + width - rx;
end.y = y + height;
gimp_bezier_stroke_arcto (stroke, rx, ry, 0, FALSE, TRUE, &end);
}
......@@ -706,7 +714,11 @@ svg_handler_rect_start (SvgHandler *handler,
if (rx)
{
GimpCoords end = { x, y + height - ry, 1.0, 0.5, 0.5, 0.5 };
GimpCoords end = { 0.0, 0.0, 1.0, 0.5, 0.5, 0.5 };
end.x = x;
end.y = y + height - ry;
gimp_bezier_stroke_arcto (stroke, rx, ry, 0, FALSE, TRUE, &end);
}
......@@ -716,7 +728,11 @@ svg_handler_rect_start (SvgHandler *handler,
if (rx)
{
GimpCoords end = { x + rx, y, 1.0, 0.5, 0.5, 0.5 };
GimpCoords end = { 0.0, 0.0, 1.0, 0.5, 0.5, 0.5 };
end.x = x + rx;
end.y = y;
gimp_bezier_stroke_arcto (stroke, rx, ry, 0, FALSE, TRUE, &end);
}
......
......@@ -108,14 +108,13 @@ gimp_int_store_tree_model_init (GtkTreeModelIface *iface)
static void
gimp_int_store_init (GimpIntStore *store)
{
GType types[GIMP_INT_STORE_NUM_COLUMNS] =
{
G_TYPE_INT, /* GIMP_INT_STORE_VALUE */
G_TYPE_STRING, /* GIMP_INT_STORE_LABEL */
G_TYPE_STRING, /* GIMP_INT_STORE_STOCK_ID */
GDK_TYPE_PIXBUF, /* GIMP_INT_STORE_PIXBUF */
G_TYPE_POINTER /* GIMP_INT_STORE_USER_DATA */
};
GType types[GIMP_INT_STORE_NUM_COLUMNS];
types[GIMP_INT_STORE_VALUE] = G_TYPE_INT;
types[GIMP_INT_STORE_LABEL] = G_TYPE_STRING;
types[GIMP_INT_STORE_STOCK_ID] = G_TYPE_STRING;
types[GIMP_INT_STORE_PIXBUF] = GDK_TYPE_PIXBUF;
types[GIMP_INT_STORE_USER_DATA] = G_TYPE_POINTER;
store->empty_iter = NULL;
......
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