aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-spell-entry.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-14 20:25:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-15 21:16:36 +0800
commit5e2efa2cd4ac7891fdf316dafd9ab249086e842a (patch)
treefe4b9c1ef8d783281789c4a378253aa41af35db3 /e-util/e-spell-entry.h
parent63cff95414fc76e6d58a274ffebe019cd6feb0a5 (diff)
downloadgsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.gz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.bz2
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.lz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.xz
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.zst
gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.zip
Finish adding symbols to libeutil API docs.
Diffstat (limited to 'e-util/e-spell-entry.h')
-rw-r--r--e-util/e-spell-entry.h55
1 files changed, 33 insertions, 22 deletions
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 <gtk/gtk.h>
-#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