Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

GType sp_object_get_type ( void   )

Registers the SPObject class with Gdk and returns its type number.

Definition at line 153 of file sp-object.cpp.

References sp_object_class_init(), and sp_object_init().

{
    static GType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPObjectClass),
            NULL, NULL,
            (GClassInitFunc) sp_object_class_init,
            NULL, NULL,
            sizeof(SPObject),
            16,
            (GInstanceInitFunc) sp_object_init,
            NULL
        };
        type = g_type_register_static(G_TYPE_OBJECT, "SPObject", &info, (GTypeFlags)0);
    }
    return type;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index