Whiteboard/Inkboard new development

Discussion about writing code for Inkscape.
NotungX
Posts: 1
Joined: Thu Mar 01, 2012 5:18 am

Whiteboard/Inkboard new development

Postby NotungX » Thu Mar 01, 2012 5:30 am

Hi!
I would like to see the inkboard / whiteboard functionality working again in Inkscape (left out in 0.47). As I am a developer I decided to have a look to the old implementation and try to integrate it in the current version.
So I took the release 0.46 from the repository and compiled it. I had to fix some parts of the code to make it compile in Debian Squeeze (using gcc 4.4.5).

The problem that I have after building is that inkscape crashes at the begining and I have no idea how to fix it.
It seems to come from src/widgets/desktop-widget.cpp in the function

Code: Select all

void cms_adjust_set_sensitive( SPDesktopWidget *dtw, bool enabled ) {
  Inkscape::Verb* verb = Inkscape::Verb::get( SP_VERB_VIEW_CMS_TOGGLE );
    if ( verb ) {
        SPAction *act = verb->get_action( dtw->viewwidget.view );
        if ( act ) {
            sp_action_set_sensitive( act, enabled );  // <- **** This call is the one crashing / returning just on the start. ****
        }
    }
    gtk_widget_set_sensitive( dtw->cms_adjust, enabled );
}


Any idea about this? Otherwise who could help me with this issue? I am not familiarized with Inkscape development ( yet ;-) ) and I would appreciate some input!!

Thanks a lot!

NotungX

User avatar
ryanlerch
Posts: 107
Joined: Thu Jun 07, 2007 8:36 am
Location: Brisbane, Australia
Contact:

Re: Whiteboard/Inkboard new development

Postby ryanlerch » Sat Jul 07, 2012 7:15 am

Sorry i can't be of help, but you might try asking this question on the inkscape-devel list. ( https://lists.sourceforge.net/lists/lis ... cape-devel )

Please keep this thread updated if you do get inkboard working again, that would be AWESOME!

--ryanlerch


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 5 guests