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

Calls virtual activate() function of SPEventContext.

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

Referenced by SPDesktop::push_event_context(), and SPDesktop::set_event_context().

                                                   {
    g_return_if_fail(ec != NULL);
    g_return_if_fail(SP_IS_EVENT_CONTEXT(ec));

    // Make sure no delayed snapping events are carried over after switching contexts
    // (this is only an additional safety measure against sloppy coding, because each
    // context should take care of this by itself.
    sp_event_context_discard_delayed_snap_event(ec);

    if (((SPEventContextClass *) G_OBJECT_GET_CLASS(ec))->activate)
        ((SPEventContextClass *) G_OBJECT_GET_CLASS(ec))->activate(ec);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index