app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and
2000-02-07 Michael Natterer <mitch@gimp.org> * app/* * libgimp/* * plug-ins/* * tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/ * libgimp/gimpcolorspace.c: renamed the parameter names to match the names in the header. * libgimp/gimphelpui.h * libgimp/gimpimage.c * libgimp/gimpmatrix.h * libgimp/gimpsizeentry.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimpunit.[ch] * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: added documentation and use g* types all over the place (enables cross-referencing with the glib and gtk+ html documentation). * plug-ins/common/exchange.c * plug-ins/common/max_rgb.c: small cleanups. * plug-ins/common/mapcolor.c: the color buttons were attached in the wrong order.
This commit is contained in:

committed by
Michael Natterer

parent
820c8f4109
commit
ef17866973
@ -388,14 +388,14 @@ gimp_image_get_resolution (GimpImage *gimage,
|
||||
|
||||
void
|
||||
gimp_image_set_unit (GimpImage *gimage,
|
||||
GUnit unit)
|
||||
GimpUnit unit)
|
||||
{
|
||||
undo_push_resolution (gimage);
|
||||
|
||||
gimage->unit = unit;
|
||||
}
|
||||
|
||||
GUnit
|
||||
GimpUnit
|
||||
gimp_image_get_unit (GimpImage *gimage)
|
||||
{
|
||||
return gimage->unit;
|
||||
|
Reference in New Issue
Block a user