app/paint/gimppencil.h app/paint/gimppenciloptions.h

2005-08-21  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppencil.h
	* app/paint/gimppenciloptions.h
	* app/widgets/widgets-types.h
	* app/widgets/gimptooldialog.h: don't simply typedef object
	instance structs which add no members as their parent instance
	structs. Give them their own instance structs.  Fixes gtk-doc
	confusion.
This commit is contained in:
Michael Natterer 2005-08-21 17:28:18 +00:00 committed by Michael Natterer
parent cb39aa66a0
commit 6dbac4fae1
5 changed files with 28 additions and 3 deletions

View File

@ -1,3 +1,13 @@
2005-08-21 Michael Natterer <mitch@gimp.org>
* app/paint/gimppencil.h
* app/paint/gimppenciloptions.h
* app/widgets/widgets-types.h
* app/widgets/gimptooldialog.h: don't simply typedef object
instance structs which add no members as their parent instance
structs. Give them their own instance structs. Fixes gtk-doc
confusion.
2005-08-21 Michael Natterer <mitch@gimp.org>
* app/core/gimpchannel.h: removed HALF_WAY define, it's

View File

@ -31,9 +31,14 @@
#define GIMP_PENCIL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_PENCIL, GimpPencilClass))
typedef struct _GimpPaintbrush GimpPencil;
typedef struct _GimpPencil GimpPencil;
typedef struct _GimpPaintbrushClass GimpPencilClass;
struct _GimpPencil
{
GimpPaintbrush parent_instance;
};
void gimp_pencil_register (Gimp *gimp,
GimpPaintRegisterCallback callback);

View File

@ -31,9 +31,14 @@
#define GIMP_PENCIL_OPTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_PENCIL_OPTIONS, GimpPencilOptionsClass))
typedef struct _GimpPaintOptions GimpPencilOptions;
typedef struct _GimpPencilOptions GimpPencilOptions;
typedef struct _GimpPaintOptionsClass GimpPencilOptionsClass;
struct _GimpPencilOptions
{
GimpPaintOptions parent_instance;
};
GType gimp_pencil_options_get_type (void) G_GNUC_CONST;

View File

@ -35,6 +35,11 @@
typedef struct _GimpViewableDialogClass GimpToolDialogClass;
struct _GimpToolDialog
{
GimpViewableDialog parent_instance;
};
GType gimp_tool_dialog_get_type (void) G_GNUC_CONST;

View File

@ -131,7 +131,7 @@ typedef struct _GimpFileDialog GimpFileDialog;
typedef struct _GimpMessageDialog GimpMessageDialog;
typedef struct _GimpProgressDialog GimpProgressDialog;
typedef struct _GimpTextEditor GimpTextEditor;
typedef struct _GimpViewableDialog GimpToolDialog;
typedef struct _GimpToolDialog GimpToolDialog;
typedef struct _GimpViewableDialog GimpViewableDialog;