app: formatting

This commit is contained in:
Sven Neumann 2010-09-11 23:00:48 +02:00
parent 885147717a
commit 9c8736a56f
4 changed files with 7 additions and 5 deletions

View file

@ -59,7 +59,8 @@ gimp_image_set_grid (GimpImage *image,
return;
if (push_undo)
gimp_image_undo_push_image_grid (image, C_("undo-type", "Grid"), private->grid);
gimp_image_undo_push_image_grid (image,
C_("undo-type", "Grid"), private->grid);
gimp_config_sync (G_OBJECT (grid), G_OBJECT (private->grid), 0);
}

View file

@ -48,7 +48,8 @@ gimp_image_add_hguide (GimpImage *image,
image->gimp->next_guide_ID++);
if (push_undo)
gimp_image_undo_push_guide (image, C_("undo-type", "Add Horizontal Guide"), guide);
gimp_image_undo_push_guide (image,
C_("undo-type", "Add Horizontal Guide"), guide);
gimp_image_add_guide (image, guide, position);
g_object_unref (G_OBJECT (guide));
@ -71,7 +72,8 @@ gimp_image_add_vguide (GimpImage *image,
image->gimp->next_guide_ID++);
if (push_undo)
gimp_image_undo_push_guide (image, C_("undo-type", "Add Vertical Guide"), guide);
gimp_image_undo_push_guide (image,
C_("undo-type", "Add Vertical Guide"), guide);
gimp_image_add_guide (image, guide, position);
g_object_unref (G_OBJECT (guide));

View file

@ -37,8 +37,6 @@ typedef struct _GimpBezierStrokeClass GimpBezierStrokeClass;
struct _GimpBezierStroke
{
GimpStroke parent_instance;
/* Stuff missing? */
};
struct _GimpBezierStrokeClass

View file

@ -1104,6 +1104,7 @@ gimp_vectors_real_make_bezier (const GimpVectors *vectors)
cur_stroke = gimp_vectors_stroke_get_next (vectors, cur_stroke))
{
bezdesc = gimp_stroke_make_bezier (cur_stroke);
if (bezdesc)
{
cmd_array = g_array_append_vals (cmd_array, bezdesc->data,