diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-01-19 13:58:46 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-01-19 13:58:46 +0000 |
| commit | e77e650354daef5ced80adddf6d5a334bb6216d3 (patch) | |
| tree | ac1237a3194056ac457b5a9a7468b0d61c3a7335 /src/widgets/toolbox.h | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-e77e650354daef5ced80adddf6d5a334bb6216d3.tar.gz inkscape-e77e650354daef5ced80adddf6d5a334bb6216d3.zip | |
derive all toolbars from Inkscape::Toolbar
Diffstat (limited to 'src/widgets/toolbox.h')
| -rw-r--r-- | src/widgets/toolbox.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/widgets/toolbox.h b/src/widgets/toolbox.h index 4a61a7892..2236a7ab1 100644 --- a/src/widgets/toolbox.h +++ b/src/widgets/toolbox.h @@ -84,7 +84,10 @@ public: * @param callback function to invoke when changes are pushed. * @param cbData data to be passed on to the callback function. */ - PrefPusher( GtkToggleAction *act, Glib::ustring const &path, void (*callback)(GObject*) = nullptr, GObject *cbData = nullptr ); + PrefPusher( GtkToggleAction *act, + Glib::ustring const & path, + void (*callback)(gpointer) = nullptr, + gpointer cbData = nullptr ); /** * Destructor that unregisters the preference callback. @@ -112,8 +115,8 @@ private: void handleToggled(); GtkToggleAction *act; - void (*callback)(GObject*); - GObject *cbData; + void (*callback)(gpointer); + gpointer cbData; bool freeze; }; |
