summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-11-13 00:00:04 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-11-13 00:00:04 +0000
commit152a0caf7e216e7ceafeed20822500c385e3e2df (patch)
treea3b5d60e08f3bd8221ba2e50eea80b087e5d541a /src/inkscape.cpp
parentUpdate to trunk (diff)
parentfix C++11 compilation. There A LOT of const_casts in this file... :-( (diff)
downloadinkscape-152a0caf7e216e7ceafeed20822500c385e3e2df.tar.gz
inkscape-152a0caf7e216e7ceafeed20822500c385e3e2df.zip
Update to trunk
(bzr r12588.1.26)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 228841362..8c4ba5695 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -51,7 +51,7 @@
#include "desktop-handles.h"
#include "device-manager.h"
#include "document.h"
-#include "event-context.h"
+#include "ui/tools/tool-base.h"
#include "extension/db.h"
#include "extension/init.h"
#include "extension/output.h"
@@ -145,7 +145,7 @@ struct Inkscape::ApplicationClass {
void (* change_subselection) (Inkscape::Application * inkscape, SPDesktop *desktop);
void (* modify_selection) (Inkscape::Application * inkscape, Inkscape::Selection * selection, guint flags);
void (* set_selection) (Inkscape::Application * inkscape, Inkscape::Selection * selection);
- void (* set_eventcontext) (Inkscape::Application * inkscape, SPEventContext * eventcontext);
+ void (* set_eventcontext) (Inkscape::Application * inkscape, Inkscape::UI::Tools::ToolBase * eventcontext);
void (* activate_desktop) (Inkscape::Application * inkscape, SPDesktop * desktop);
void (* deactivate_desktop) (Inkscape::Application * inkscape, SPDesktop * desktop);
void (* destroy_document) (Inkscape::Application *inkscape, SPDocument *doc);
@@ -991,7 +991,7 @@ inkscape_selection_set (Inkscape::Selection * selection)
void
-inkscape_eventcontext_set (SPEventContext * eventcontext)
+inkscape_eventcontext_set (Inkscape::UI::Tools::ToolBase * eventcontext)
{
g_return_if_fail (eventcontext != NULL);
g_return_if_fail (SP_IS_EVENT_CONTEXT (eventcontext));
@@ -1338,7 +1338,7 @@ bool inkscape_is_sole_desktop_for_document(SPDesktop const &desktop) {
return true;
}
-SPEventContext *
+Inkscape::UI::Tools::ToolBase *
inkscape_active_event_context (void)
{
if (SP_ACTIVE_DESKTOP) {