diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-09-28 16:55:26 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2008-09-28 16:55:26 (GMT) |
commit | bde3246a3883c9a3435af1d59c88cc6d8e0b47de (patch) | |
tree | 48bf002096209bdd3efb211ac9feddf9d57568ed /backend | |
parent | 68971f5858e086444224be329f4abd10f7412ad2 (diff) |
Use EV_BACKEND_IMPLEMENT_INTERFACE instead of G_IMPLEMENT_INTERFACE.
2008-09-28 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/dvi/dvi-document.c:
Use EV_BACKEND_IMPLEMENT_INTERFACE instead of
G_IMPLEMENT_INTERFACE.
svn path=/trunk/; revision=3208
Diffstat (limited to 'backend')
-rw-r--r-- | backend/dvi/dvi-document.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c index 876d577..41274f9 100644 --- a/backend/dvi/dvi-document.c +++ b/backend/dvi/dvi-document.c @@ -73,8 +73,8 @@ static void dvi_document_do_color_special (DviContext EV_BACKEND_REGISTER_WITH_CODE (DviDocument, dvi_document, { - G_IMPLEMENT_INTERFACE (EV_TYPE_DOCUMENT_THUMBNAILS, dvi_document_document_thumbnails_iface_init); - G_IMPLEMENT_INTERFACE (EV_TYPE_FILE_EXPORTER, dvi_document_file_exporter_iface_init); + EV_BACKEND_IMPLEMENT_INTERFACE (EV_TYPE_DOCUMENT_THUMBNAILS, dvi_document_document_thumbnails_iface_init); + EV_BACKEND_IMPLEMENT_INTERFACE (EV_TYPE_FILE_EXPORTER, dvi_document_file_exporter_iface_init); }); static gboolean @@ -98,7 +98,7 @@ dvi_document_load (EvDocument *document, g_mutex_lock (dvi_context_mutex); if (dvi_document->context) mdvi_destroy_context (dvi_document->context); - + dvi_document->context = mdvi_init_context(dvi_document->params, dvi_document->spec, filename); g_mutex_unlock (dvi_context_mutex); |