reordered to match the .c file.

2004-07-15  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-commands.h: reordered to match the .c file.

	* app/core/gimpitem.c
	* app/vectors/gimpvectors-import.c: fixed API docs.
This commit is contained in:
Michael Natterer 2004-07-14 23:14:49 +00:00 committed by Michael Natterer
parent 8098af32f6
commit 6fb2502e72
4 changed files with 38 additions and 30 deletions

View File

@ -1,3 +1,10 @@
2004-07-15 Michael Natterer <mitch@gimp.org>
* app/actions/file-commands.h: reordered to match the .c file.
* app/core/gimpitem.c
* app/vectors/gimpvectors-import.c: fixed API docs.
2004-07-14 Philip Lafleur <plafleur@cvs.gnome.org>
* plug-ins/common/png.c:

View File

@ -22,10 +22,10 @@
void file_open_cmd_callback (GtkAction *action,
gpointer data);
void file_open_location_cmd_callback (GtkAction *action,
gpointer data);
void file_open_from_image_cmd_callback (GtkAction *action,
gpointer data);
void file_open_location_cmd_callback (GtkAction *action,
gpointer data);
void file_last_opened_cmd_callback (GtkAction *action,
gint value,
gpointer data);

View File

@ -437,13 +437,13 @@ gimp_item_is_removed (const GimpItem *item)
/**
* gimp_item_configure:
* @item: The #GimpItem to configure.
* @gimage: The #GimpImage to which the item belongs.
* @item: The #GimpItem to configure.
* @gimage: The #GimpImage to which the item belongs.
* @offset_x: The X offset to assign the item.
* @offset_y: The Y offset to assign the item.
* @width: The width to assign the item.
* @height: The height to assign the item.
* @name: The name to assign the item.
* @width: The width to assign the item.
* @height: The height to assign the item.
* @name: The name to assign the item.
*
* This function is used to configure a new item. First, if the item
* does not already have an ID, it is assigned the next available
@ -497,8 +497,8 @@ gimp_item_is_attached (GimpItem *item)
/**
* gimp_item_duplicate:
* @item: The #GimpItem to duplicate.
* @new_type: The type to make the new item.
* @item: The #GimpItem to duplicate.
* @new_type: The type to make the new item.
* @add_alpha: #TRUE if an alpha channel should be added to the new item.
*
* Returns: the newly created item.
@ -517,10 +517,10 @@ gimp_item_duplicate (GimpItem *item,
/**
* gimp_item_convert:
* @item: The @GimpItem to convert.
* @item: The #GimpItem to convert.
* @dest_image: The #GimpImage in which to place the converted item.
* @new_type: The type to convert the item to.
* @add_alpha: #TRUE if an alpha channel should be added to the converted item.
* @new_type: The type to convert the item to.
* @add_alpha: #TRUE if an alpha channel should be added to the converted item.
*
* Returns: the new item that results from the conversion.
*/
@ -548,7 +548,7 @@ gimp_item_convert (GimpItem *item,
/**
* gimp_item_rename:
* @item: The #GimpItem to rename.
* @item: The #GimpItem to rename.
* @new_name: The new name to give the item.
*
* This function assigns a new name to the item, if the desired name is
@ -608,28 +608,28 @@ gimp_item_height (const GimpItem *item)
/**
* gimp_item_offsets:
* @item: The #GimpItem to check.
* @off_x: Return location for the item's X offset.
* @off_y: Return location for the item's Y offset.
* @item: The #GimpItem to check.
* @offset_x: Return location for the item's X offset.
* @offset_y: Return location for the item's Y offset.
*
* Reveals the X and Y offsets of the item.
*/
void
gimp_item_offsets (const GimpItem *item,
gint *off_x,
gint *off_y)
gint *offset_x,
gint *offset_y)
{
g_return_if_fail (GIMP_IS_ITEM (item));
if (off_x) *off_x = item->offset_x;
if (off_y) *off_y = item->offset_y;
if (offset_x) *offset_x = item->offset_x;
if (offset_y) *offset_y = item->offset_y;
}
/**
* gimp_item_translate:
* @item: The #GimpItem to move.
* @off_x: Increment to the X offset of the item.
* @off_y: Increment to the Y offset of the item.
* @item: The #GimpItem to move.
* @offset_x: Increment to the X offset of the item.
* @offset_y: Increment to the Y offset of the item.
* @push_undo: If #TRUE, create an entry in the image's undo stack
* for this action.
*
@ -637,8 +637,8 @@ gimp_item_offsets (const GimpItem *item,
*/
void
gimp_item_translate (GimpItem *item,
gint off_x,
gint off_y,
gint offset_x,
gint offset_y,
gboolean push_undo)
{
GimpItemClass *item_class;
@ -653,7 +653,7 @@ gimp_item_translate (GimpItem *item,
gimp_image_undo_group_start (gimage, GIMP_UNDO_GROUP_ITEM_DISPLACE,
item_class->translate_desc);
item_class->translate (item, off_x, off_y, push_undo);
item_class->translate (item, offset_x, offset_y, push_undo);
if (push_undo)
gimp_image_undo_group_end (gimage);

View File

@ -155,11 +155,12 @@ static GList * parse_path_data (const gchar *data);
/**
* gimp_vectors_import_file:
* @image: the #GimpImage to add the paths to
* @image: the #GimpImage to add the paths to
* @filename: name of a SVG file
* @merge: should multiple paths be merged into a single #GimpVectors object
* @scale: should the SVG be scaled to fit the image dimensions
* @error: location to store possible errors
* @merge: should multiple paths be merged into a single #GimpVectors object
* @scale: should the SVG be scaled to fit the image dimensions
* @position: position in the image's vectors stack where to add the vectors
* @error: location to store possible errors
*
* Imports one or more paths from a SVG file.
*