GimpUnitVTable -> GimpUnitVtable

2005-09-10  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbase-private.h: GimpUnitVTable -> GimpUnitVtable

	* libgimpbase/gimpbase-private.c
	* libgimp/gimp.c (gimp_main)
	* app/units.c (units_init): changed accordingly.
This commit is contained in:
Michael Natterer 2005-09-10 12:21:37 +00:00 committed by Michael Natterer
parent e688223473
commit ec49e30396
5 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,11 @@
2005-09-10 Michael Natterer <mitch@gimp.org>
* libgimpbase/gimpbase-private.h: GimpUnitVTable -> GimpUnitVtable
* libgimpbase/gimpbase-private.c
* libgimp/gimp.c (gimp_main)
* app/units.c (units_init): changed accordingly.
2005-09-10 Michael Natterer <mitch@gimp.org>
* app/tools/gimpclonetool.c (gimp_clone_options_gui): moved the

View File

@ -123,7 +123,7 @@ units_unit_get_plural (GimpUnit unit)
void
units_init (Gimp *gimp)
{
GimpUnitVTable vtable;
GimpUnitVtable vtable;
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (the_unit_gimp == NULL);

View File

@ -365,7 +365,7 @@ gimp_main (const GimpPlugInInfo *info,
/* initialize units */
{
GimpUnitVTable vtable;
GimpUnitVtable vtable;
vtable.unit_get_number_of_units = _gimp_unit_cache_get_number_of_units;
vtable.unit_get_number_of_built_in_units =

View File

@ -31,11 +31,11 @@
#include "gimpbase-private.h"
GimpUnitVTable _gimp_unit_vtable = { NULL, };
GimpUnitVtable _gimp_unit_vtable = { NULL, };
void
gimp_base_init (GimpUnitVTable *vtable)
gimp_base_init (GimpUnitVtable *vtable)
{
static gboolean gimp_base_initialized = FALSE;

View File

@ -24,9 +24,9 @@
#define __GIMP_BASE_PRIVATE_H__
typedef struct _GimpUnitVTable GimpUnitVTable;
typedef struct _GimpUnitVtable GimpUnitVtable;
struct _GimpUnitVTable
struct _GimpUnitVtable
{
gint (* unit_get_number_of_units) (void);
gint (* unit_get_number_of_built_in_units) (void);
@ -57,12 +57,12 @@ struct _GimpUnitVTable
};
extern GimpUnitVTable _gimp_unit_vtable;
extern GimpUnitVtable _gimp_unit_vtable;
G_BEGIN_DECLS
void gimp_base_init (GimpUnitVTable *vtable);
void gimp_base_init (GimpUnitVtable *vtable);
G_END_DECLS