Logo Search packages:      
Sourcecode: inkscape version File versions

GType sp_event_context_get_type ( void   ) 

Registers the SPEventContext class with Glib and returns its type number.

Definition at line 84 of file event-context.cpp.

References sp_event_context_class_init(), and sp_event_context_init().

{
    static GType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPEventContextClass),
            NULL, NULL,
            (GClassInitFunc) sp_event_context_class_init,
            NULL, NULL,
            sizeof(SPEventContext),
            4,
            (GInstanceInitFunc) sp_event_context_init,
            NULL,    /* value_table */
        };
        type = g_type_register_static(G_TYPE_OBJECT, "SPEventContext", &info, (GTypeFlags)0);
    }
    return type;
}


Generated by  Doxygen 1.6.0   Back to index