diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-07 11:05:07 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-07 11:05:07 (GMT) |
commit | 837897ffba5a5e4e5685c1ffdeb1d4d87083a052 (patch) | |
tree | e9b53ce0094a11414dd57771e84265ad32813394 /libdocument/ev-document-fonts.h | |
parent | 698e8119ca94fd58c3604d4b09b15026dc2415ab (diff) |
[libdocument] Use G_DEFINE_INTERFACE instead of out own macro
Diffstat (limited to 'libdocument/ev-document-fonts.h')
-rw-r--r-- | libdocument/ev-document-fonts.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libdocument/ev-document-fonts.h b/libdocument/ev-document-fonts.h index e7c2de6..8cabe35 100644 --- a/libdocument/ev-document-fonts.h +++ b/libdocument/ev-document-fonts.h @@ -40,13 +40,13 @@ G_BEGIN_DECLS #define EV_TYPE_DOCUMENT_FONTS (ev_document_fonts_get_type ()) #define EV_DOCUMENT_FONTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FONTS, EvDocumentFonts)) -#define EV_DOCUMENT_FONTS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsIface)) +#define EV_DOCUMENT_FONTS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface)) #define EV_IS_DOCUMENT_FONTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FONTS)) #define EV_IS_DOCUMENT_FONTS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FONTS)) -#define EV_DOCUMENT_FONTS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsIface)) +#define EV_DOCUMENT_FONTS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FONTS, EvDocumentFontsInterface)) -typedef struct _EvDocumentFonts EvDocumentFonts; -typedef struct _EvDocumentFontsIface EvDocumentFontsIface; +typedef struct _EvDocumentFonts EvDocumentFonts; +typedef struct _EvDocumentFontsInterface EvDocumentFontsInterface; enum { EV_DOCUMENT_FONTS_COLUMN_NAME, @@ -54,7 +54,7 @@ enum { EV_DOCUMENT_FONTS_COLUMN_NUM_COLUMNS }; -struct _EvDocumentFontsIface +struct _EvDocumentFontsInterface { GTypeInterface base_iface; |