Logo Search packages:      
Sourcecode: inkscape version File versions

GtkType sp_desktop_widget_get_type ( void   ) 

Registers SPDesktopWidget class and returns its type number.

Definition at line 244 of file desktop-widget.cpp.

References sp_desktop_widget_class_init(), and sp_desktop_widget_init().

{
    static GtkType type = 0;
    if (!type) {
        GTypeInfo info = {
            sizeof(SPDesktopWidgetClass),
            0, // base_init
            0, // base_finalize
            (GClassInitFunc)sp_desktop_widget_class_init,
            0, // class_finalize
            0, // class_data
            sizeof(SPDesktopWidget),
            0, // n_preallocs
            (GInstanceInitFunc)sp_desktop_widget_init,
            0 // value_table
        };
        type = g_type_register_static(SP_TYPE_VIEW_WIDGET, "SPDesktopWidget", &info, static_cast<GTypeFlags>(0));
    }
    return type;
}


Generated by  Doxygen 1.6.0   Back to index