renamed gimp_item_width() to gimp_item_get_width() and gimp_item_height()

2008-11-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: renamed
	gimp_item_width() to gimp_item_get_width() and
	gimp_item_height() to gimp_item_get_height().

	* app/actions/channels-commands.c
	* app/actions/drawable-commands.c
	* app/actions/layers-commands.c
	* app/core/<many>.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/scale-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimpink.c
	* app/paint/gimppaintcore.c
	* app/paint/gimpsmudge.c
	* app/text/gimptextlayer-xcf.c
	* app/text/gimptextlayer.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpregionselecttool.c
	* app/tools/gimptexttool.c
	* app/vectors/gimpvectors.c
	* app/vectors/gimpvectorsmodundo.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/widgets/gimpviewrenderervectors.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/drawable.pdb: changed accordingly.

	* app/pdb/drawable-cmds.c: regenerated.


svn path=/trunk/; revision=27531
This commit is contained in:
Michael Natterer
2008-11-03 00:09:01 +00:00
committed by Michael Natterer
parent c3b7be242c
commit 740ab5e633
68 changed files with 660 additions and 620 deletions

View File

@ -197,16 +197,16 @@ offset_dialog_new (GimpDrawable *drawable,
yres, FALSE);
gimp_size_entry_set_refval_boundaries (GIMP_SIZE_ENTRY (dialog->off_se), 0,
- gimp_item_width (item),
gimp_item_width (item));
- gimp_item_get_width (item),
gimp_item_get_width (item));
gimp_size_entry_set_refval_boundaries (GIMP_SIZE_ENTRY (dialog->off_se), 1,
- gimp_item_height (item),
gimp_item_height (item));
- gimp_item_get_height (item),
gimp_item_get_height (item));
gimp_size_entry_set_size (GIMP_SIZE_ENTRY (dialog->off_se), 0,
0, gimp_item_width (item));
0, gimp_item_get_width (item));
gimp_size_entry_set_size (GIMP_SIZE_ENTRY (dialog->off_se), 1,
0, gimp_item_height (item));
0, gimp_item_get_height (item));
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (dialog->off_se), 0, 0);
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (dialog->off_se), 1, 0);
@ -291,9 +291,9 @@ offset_halfheight_callback (GtkWidget *widget,
GimpItem *item = GIMP_ITEM (gimp_image_get_active_drawable (image));
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (dialog->off_se),
0, gimp_item_width (item) / 2);
0, gimp_item_get_width (item) / 2);
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (dialog->off_se),
1, gimp_item_height (item) / 2);
1, gimp_item_get_height (item) / 2);
}
}