X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-file-exporter.c;h=43f563bf143cfa1333df25e60085bd06c0a062c8;hb=682a585a0bfee24d91343958cc44956931693c6f;hp=9b2bc6933ee732f2ce9d08051078fb8fb92e5ead;hpb=459160ed87739fa5bba5e96d0b53c6fd3bbce6b7;p=evince.git diff --git a/libdocument/ev-file-exporter.c b/libdocument/ev-file-exporter.c index 9b2bc693..43f563bf 100644 --- a/libdocument/ev-file-exporter.c +++ b/libdocument/ev-file-exporter.c @@ -20,27 +20,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#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