Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_knot_get_type (  ) 

Registers SPKnot class and returns its type number.

Definition at line 73 of file knot.cpp.

{
    static GType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPKnotClass),
            NULL, /* base_init */
            NULL, /* base_finalize */
            (GClassInitFunc) sp_knot_class_init,
            NULL, /* class_finalize */
            NULL, /* class_data */
            sizeof (SPKnot),
            16,   /* n_preallocs */
            (GInstanceInitFunc) sp_knot_init,
            NULL
        };
        type = g_type_register_static (G_TYPE_OBJECT, "SPKnot", &info, (GTypeFlags) 0);
    }
    return type;
}


Generated by  Doxygen 1.6.0   Back to index