~ubuntu-branches/ubuntu/precise/evince/precise-updates

« back to all changes in this revision

Viewing changes to libdocument/ev-document-layers.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-02-10 15:24:04 UTC
  • mto: (1.6.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 72.
  • Revision ID: james.westby@ubuntu.com-20090210152404-9el29bkm4unsnj6n
Tags: upstream-2.25.90
ImportĀ upstreamĀ versionĀ 2.25.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "config.h"
22
22
 
23
23
#include "ev-document-layers.h"
24
 
 
25
 
GType
26
 
ev_document_layers_get_type (void)
 
24
#include "ev-document.h"
 
25
 
 
26
EV_DEFINE_INTERFACE (EvDocumentLayers, ev_document_layers, 0)
 
27
 
 
28
static void
 
29
ev_document_layers_class_init (EvDocumentLayersIface *klass)
27
30
{
28
 
        static GType type = 0;
29
 
 
30
 
        if (G_UNLIKELY (type == 0)) {
31
 
                const GTypeInfo our_info = {
32
 
                        sizeof (EvDocumentLayersIface),
33
 
                        NULL,
34
 
                        NULL,
35
 
                };
36
 
 
37
 
                type = g_type_register_static (G_TYPE_INTERFACE,
38
 
                                               "EvDocumentLayers",
39
 
                                               &our_info, (GTypeFlags)0);
40
 
        }
41
 
 
42
 
        return type;
43
31
}
44
32
 
45
33
gboolean