diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-07-30 21:17:21 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-07-30 21:17:21 +0000 |
| commit | b2dd3583e7372d23d18bbc6e861f4f645ec3dc37 (patch) | |
| tree | 659f5549fc533cebec5326615b6e385ffdde5453 /src/mesh-context.cpp | |
| parent | Merge from trunk (r12439). (diff) | |
| download | inkscape-b2dd3583e7372d23d18bbc6e861f4f645ec3dc37.tar.gz inkscape-b2dd3583e7372d23d18bbc6e861f4f645ec3dc37.zip | |
Further refactoring of EventContexts.
(bzr r11608.1.109)
Diffstat (limited to 'src/mesh-context.cpp')
| -rw-r--r-- | src/mesh-context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh-context.cpp b/src/mesh-context.cpp index fce4cbb9a..915ac0f7f 100644 --- a/src/mesh-context.cpp +++ b/src/mesh-context.cpp @@ -443,7 +443,7 @@ sp_mesh_context_corner_operation (SPMeshContext *rc, MeshCornerOperation operati /** Handles all keyboard and mouse input for meshs. */ -gint SPMeshContext::root_handler(GdkEvent* event) { +bool SPMeshContext::root_handler(GdkEvent* event) { static bool dragging; Inkscape::Selection *selection = sp_desktop_selection (desktop); @@ -615,11 +615,11 @@ gint SPMeshContext::root_handler(GdkEvent* event) { if (this->cursor_addnode && !over_line) { this->cursor_shape = cursor_gradient_xpm; - sp_event_context_update_cursor(this); + this->sp_event_context_update_cursor(); this->cursor_addnode = false; } else if (!this->cursor_addnode && over_line) { this->cursor_shape = cursor_gradient_add_xpm; - sp_event_context_update_cursor(this); + this->sp_event_context_update_cursor(); this->cursor_addnode = true; } } |
