![](https://secure.gravatar.com/avatar/8d5128b5b838ecedc34635fba7995f7f.jpg?s=120&d=mm&r=g)
On Mon, Mar 07, 2005 at 08:06:07PM +1100, Peter Moulder wrote:
I've sent bryce private e-mail (before seeing his post to inkscape-devel) about an abort with --new-gui if you haven't done `make install' with prefix=/usr.
One part of a fix would be to modify prefix.h to get the appropriate paths.
I've created some member functions in Inkscape::Application to provide the paths, but haven't done the coding to hook it up. I think that's probably the next priority.
The other part of the fix would of course be to catch the appropriate exception instead of (or as well as) testing for return of 0. I seem not to have sources for Gtk::UIManager handy, unfortunately.
Here's the routine that's throwing the exception:
UIManager::ui_merge_id UIManager::add_ui_from_string(const Glib::ustring& buffer) { GError *error = 0; guint retvalue = gtk_ui_manager_add_ui_from_string(gobj(), buffer.c_str(), buffer.s ize(), &(error)); if(error) ::Glib::Error::throw_exception(error); return retvalue; }
Bryce