mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 11:37:14 +00:00
app: formatting
This commit is contained in:
parent
885147717a
commit
9c8736a56f
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -37,8 +37,6 @@ typedef struct _GimpBezierStrokeClass GimpBezierStrokeClass;
|
|||
struct _GimpBezierStroke
|
||||
{
|
||||
GimpStroke parent_instance;
|
||||
|
||||
/* Stuff missing? */
|
||||
};
|
||||
|
||||
struct _GimpBezierStrokeClass
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue