Commit 6dbac4fa authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent cb39aa66
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
......
......@@ -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);
......
......@@ -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;
......
......@@ -35,6 +35,11 @@
typedef struct _GimpViewableDialogClass GimpToolDialogClass;
struct _GimpToolDialog
{
GimpViewableDialog parent_instance;
};
GType gimp_tool_dialog_get_type (void) G_GNUC_CONST;
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment