diff options
| author | Stefano Facchini <stefano.facchini@gmail.com> | 2017-10-20 15:10:39 +0000 |
|---|---|---|
| committer | Stefano Facchini <stefano.facchini@gmail.com> | 2017-11-13 09:28:49 +0000 |
| commit | 03018c2f56855c6c9006f7feace63febdef7bc52 (patch) | |
| tree | 6bd1ec198f08b5a63cca206ad3f7de752ef08d96 /src/desktop.h | |
| parent | Merge branch 'master' into powerpencil (diff) | |
| download | inkscape-03018c2f56855c6c9006f7feace63febdef7bc52.tar.gz inkscape-03018c2f56855c6c9006f7feace63febdef7bc52.zip | |
Refactor SPDesktop::setEventContext to allow for unsetting the current tool
Passing the empty string as toolName has the effect of unsetting and
freeing the current tool. This will be used in a future commit.
Diffstat (limited to 'src/desktop.h')
| -rw-r--r-- | src/desktop.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/desktop.h b/src/desktop.h index 330d95607..0ddf3805b 100644 --- a/src/desktop.h +++ b/src/desktop.h @@ -310,10 +310,7 @@ public: void change_document (SPDocument *document); - void set_event_context2(const std::string& toolName); - - //void set_event_context (GType type, const gchar *config); - //void push_event_context (GType type, const gchar *config, unsigned int key); + void setEventContext(const std::string& toolName); void set_coordinate_status (Geom::Point p); SPItem *getItemFromListAtPointBottom(const std::vector<SPItem*> &list, Geom::Point const &p) const; |
