]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-file-exporter.c
[dvi] Use ANSI C rand() instead of random()
[evince.git] / libdocument / ev-file-exporter.c
index c74869fc76d98156b95c45db495dd4f18ec6251c..43f563bf143cfa1333df25e60085bd06c0a062c8 100644 (file)
 
 #include <config.h>
 #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