summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadPluginWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 14:28:50 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea (patch)
treee541fcd73c05f2338840f1fcfa36dcb6a0d8895d /src/gui/LoadPluginWindow.hpp
parent7fe8260c6c0a53fdc9ba04130c577122402a82ec (diff)
downloadingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.tar.gz
ingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.tar.bz2
ingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.zip
Make member functions const or static where possible
Diffstat (limited to 'src/gui/LoadPluginWindow.hpp')
-rw-r--r--src/gui/LoadPluginWindow.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/LoadPluginWindow.hpp b/src/gui/LoadPluginWindow.hpp
index 31843dde..49c61c76 100644
--- a/src/gui/LoadPluginWindow.hpp
+++ b/src/gui/LoadPluginWindow.hpp
@@ -121,8 +121,9 @@ private:
void plugin_activated(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* col);
void plugin_selection_changed();
- std::string generate_module_name(SPtr<const client::PluginModel> plugin,
- int offset=0);
+ static std::string
+ generate_module_name(SPtr<const client::PluginModel> plugin,
+ int offset = 0);
void load_plugin(const Gtk::TreeModel::iterator& iter);