mirror of https://github.com/GNOME/gimp.git
Silence compiler warnings about...
2006-04-02 Michael Natterer <mitch@gimp.org> Silence compiler warnings about... * app/config/gimprc-unknown.c: ...unused return value of g_slist_concat(). * app/tools/gimpdrawtool.c: ...uninitialized variabe. * app/xcf/xcf-save.c: ...pointer signedness.
This commit is contained in:
parent
e284712cf2
commit
4d4873a581
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2006-04-02 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Silence compiler warnings about...
|
||||
|
||||
* app/config/gimprc-unknown.c: ...unused return value of
|
||||
g_slist_concat().
|
||||
|
||||
* app/tools/gimpdrawtool.c: ...uninitialized variabe.
|
||||
|
||||
* app/xcf/xcf-save.c: ...pointer signedness.
|
||||
|
||||
2006-04-02 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimp/gimptile.c (gimp_tile_cache_insert): silence warning
|
||||
|
|
|
@ -118,7 +118,7 @@ gimp_rc_add_unknown_token (GimpConfig *config,
|
|||
|
||||
if (last)
|
||||
{
|
||||
g_slist_append (last, token);
|
||||
last = g_slist_last (g_slist_append (last, token));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -919,7 +919,8 @@ gimp_draw_tool_on_vectors_curve (GimpDrawTool *draw_tool,
|
|||
GimpStroke *stroke = NULL;
|
||||
GimpAnchor *segment_start;
|
||||
GimpAnchor *segment_end;
|
||||
GimpCoords min_coords, cur_coords;
|
||||
GimpCoords min_coords = GIMP_COORDS_DEFAULT_VALUES;
|
||||
GimpCoords cur_coords;
|
||||
gdouble min_dist, cur_dist, cur_pos;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_DRAW_TOOL (draw_tool), FALSE);
|
||||
|
|
|
@ -1604,8 +1604,8 @@ xcf_save_old_paths (XcfInfo *info,
|
|||
guint32 pathtype;
|
||||
guint32 tattoo;
|
||||
GimpVectorsCompatPoint *points;
|
||||
gint32 num_points;
|
||||
gint32 closed;
|
||||
guint32 num_points;
|
||||
guint32 closed;
|
||||
gint i;
|
||||
|
||||
/*
|
||||
|
@ -1620,7 +1620,9 @@ xcf_save_old_paths (XcfInfo *info,
|
|||
* then each point.
|
||||
*/
|
||||
|
||||
points = gimp_vectors_compat_get_points (vectors, &num_points, &closed);
|
||||
points = gimp_vectors_compat_get_points (vectors,
|
||||
(gint32 *) &num_points,
|
||||
(gint32 *) &closed);
|
||||
|
||||
/* if no points are generated because of a faulty path we should
|
||||
* skip saving the path - this is unfortunately impossible, because
|
||||
|
@ -1781,7 +1783,8 @@ xcf_save_vectors (XcfInfo *info,
|
|||
continue;
|
||||
}
|
||||
|
||||
control_points = gimp_stroke_control_points_get (stroke, &closed);
|
||||
control_points = gimp_stroke_control_points_get (stroke,
|
||||
(gint32 *) &closed);
|
||||
|
||||
xcf_write_int32_check_error (info, &stroke_type, 1);
|
||||
xcf_write_int32_check_error (info, &closed, 1);
|
||||
|
|
Loading…
Reference in New Issue