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-layers.h | |
parent | 698e8119ca94fd58c3604d4b09b15026dc2415ab (diff) |
[libdocument] Use G_DEFINE_INTERFACE instead of out own macro
Diffstat (limited to 'libdocument/ev-document-layers.h')
-rw-r--r-- | libdocument/ev-document-layers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libdocument/ev-document-layers.h b/libdocument/ev-document-layers.h index d020a45..22b339f 100644 --- a/libdocument/ev-document-layers.h +++ b/libdocument/ev-document-layers.h @@ -35,13 +35,13 @@ G_BEGIN_DECLS #define EV_TYPE_DOCUMENT_LAYERS (ev_document_layers_get_type ()) #define EV_DOCUMENT_LAYERS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayers)) -#define EV_DOCUMENT_LAYERS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersIface)) +#define EV_DOCUMENT_LAYERS_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface)) #define EV_IS_DOCUMENT_LAYERS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_LAYERS)) #define EV_IS_DOCUMENT_LAYERS_IFACE(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_LAYERS)) -#define EV_DOCUMENT_LAYERS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersIface)) +#define EV_DOCUMENT_LAYERS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_LAYERS, EvDocumentLayersInterface)) -typedef struct _EvDocumentLayers EvDocumentLayers; -typedef struct _EvDocumentLayersIface EvDocumentLayersIface; +typedef struct _EvDocumentLayers EvDocumentLayers; +typedef struct _EvDocumentLayersInterface EvDocumentLayersInterface; enum { EV_DOCUMENT_LAYERS_COLUMN_TITLE, @@ -53,7 +53,7 @@ enum { EV_DOCUMENT_LAYERS_N_COLUMNS }; -struct _EvDocumentLayersIface +struct _EvDocumentLayersInterface { GTypeInterface base_iface; |