X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-file-exporter.c;h=43f563bf143cfa1333df25e60085bd06c0a062c8;hb=f9c2880d31bb2f5d4411849b9207c5d26a5c616a;hp=c74869fc76d98156b95c45db495dd4f18ec6251c;hpb=1af6600934d1f723e5b492b8322e52a1144fb0af;p=evince.git diff --git a/libdocument/ev-file-exporter.c b/libdocument/ev-file-exporter.c index c74869fc..43f563bf 100644 --- a/libdocument/ev-file-exporter.c +++ b/libdocument/ev-file-exporter.c @@ -22,26 +22,13 @@ #include #include "ev-file-exporter.h" +#include "ev-document.h" -GType -ev_file_exporter_get_type (void) -{ - static GType type = 0; - - if (G_UNLIKELY (type == 0)) { - const GTypeInfo our_info = - { - sizeof (EvFileExporterIface), - NULL, - NULL, - }; +EV_DEFINE_INTERFACE (EvFileExporter, ev_file_exporter, 0) - type = g_type_register_static (G_TYPE_INTERFACE, - "EvFileExporter", - &our_info, (GTypeFlags)0); - } - - return type; +static void +ev_file_exporter_class_init (EvFileExporterIface *klass) +{ } void