From 5e2efa2cd4ac7891fdf316dafd9ab249086e842a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 14 Dec 2012 07:25:24 -0500 Subject: Finish adding symbols to libeutil API docs. --- e-util/e-spell-entry.h | 55 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 22 deletions(-) (limited to 'e-util/e-spell-entry.h') diff --git a/e-util/e-spell-entry.h b/e-util/e-spell-entry.h index 07c4c0d24d..5da4696168 100644 --- a/e-util/e-spell-entry.h +++ b/e-util/e-spell-entry.h @@ -25,38 +25,49 @@ #include -#define E_TYPE_SPELL_ENTRY (e_spell_entry_get_type()) -#define E_SPELL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), E_TYPE_SPELL_ENTRY, ESpellEntry)) -#define E_SPELL_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), E_TYPE_SPELL_ENTRY, ESpellEntryClass)) -#define E_IS_SPELL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), E_TYPE_SPELL_ENTRY)) -#define E_IS_SPELL_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), E_TYPE_SPELL_ENTRY)) -#define E_SPELL_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), E_TYPE_SPELL_ENTRY, ESpellEntryClass)) +/* Standard GObject macros */ +#define E_TYPE_SPELL_ENTRY \ + (e_spell_entry_get_type()) +#define E_SPELL_ENTRY(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_SPELL_ENTRY, ESpellEntry)) +#define E_SPELL_ENTRY_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_SPELL_ENTRY, ESpellEntryClass)) +#define E_IS_SPELL_ENTRY(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_SPELL_ENTRY)) +#define E_IS_SPELL_ENTRY_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_SPELL_ENTRY)) +#define E_SPELL_ENTRY_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_SPELL_ENTRY, ESpellEntryClass)) G_BEGIN_DECLS -typedef struct _ESpellEntry ESpellEntry; -typedef struct _ESpellEntryClass ESpellEntryClass; -typedef struct _ESpellEntryPrivate ESpellEntryPrivate; - -struct _ESpellEntry -{ - GtkEntry parent_object; +typedef struct _ESpellEntry ESpellEntry; +typedef struct _ESpellEntryClass ESpellEntryClass; +typedef struct _ESpellEntryPrivate ESpellEntryPrivate; +struct _ESpellEntry { + GtkEntry parent; ESpellEntryPrivate *priv; }; -struct _ESpellEntryClass -{ +struct _ESpellEntryClass { GtkEntryClass parent_class; }; -GType e_spell_entry_get_type (void); -GtkWidget * e_spell_entry_new (void); -void e_spell_entry_set_languages (ESpellEntry *spell_entry, - GList *languages); -gboolean e_spell_entry_get_checking_enabled (ESpellEntry *spell_entry); -void e_spell_entry_set_checking_enabled (ESpellEntry *spell_entry, - gboolean enable_checking); +GType e_spell_entry_get_type (void) G_GNUC_CONST; +GtkWidget * e_spell_entry_new (void); +void e_spell_entry_set_languages (ESpellEntry *spell_entry, + GList *languages); +gboolean e_spell_entry_get_checking_enabled + (ESpellEntry *spell_entry); +void e_spell_entry_set_checking_enabled + (ESpellEntry *spell_entry, + gboolean enable_checking); G_END_DECLS -- cgit v1.2.3