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-find.c | |
parent | 698e8119ca94fd58c3604d4b09b15026dc2415ab (diff) |
[libdocument] Use G_DEFINE_INTERFACE instead of out own macro
Diffstat (limited to 'libdocument/ev-document-find.c')
-rw-r--r-- | libdocument/ev-document-find.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdocument/ev-document-find.c b/libdocument/ev-document-find.c index 3fbc8bf..0b5fac0 100644 --- a/libdocument/ev-document-find.c +++ b/libdocument/ev-document-find.c @@ -22,10 +22,10 @@ #include "ev-document-find.h" -EV_DEFINE_INTERFACE (EvDocumentFind, ev_document_find, 0) +G_DEFINE_INTERFACE (EvDocumentFind, ev_document_find, 0) static void -ev_document_find_class_init (EvDocumentFindIface *klass) +ev_document_find_default_init (EvDocumentFindInterface *klass) { } @@ -35,7 +35,7 @@ ev_document_find_find_text (EvDocumentFind *document_find, const gchar *text, gboolean case_sensitive) { - EvDocumentFindIface *iface = EV_DOCUMENT_FIND_GET_IFACE (document_find); + EvDocumentFindInterface *iface = EV_DOCUMENT_FIND_GET_IFACE (document_find); return iface->find_text (document_find, page, text, case_sensitive); } |