summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/PatchCanvas.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-24 01:58:15 +0000
committerDavid Robillard <d@drobilla.net>2007-07-24 01:58:15 +0000
commit5c0d12b6a96e1a0468f81ee14e6440f4f6d570bb (patch)
tree8a55bb3d649c74ddc7abc6bf89094d833aba5b91 /src/libs/gui/PatchCanvas.h
parent69d18d7f335c5f19c13ff09d6fd04557de048ea1 (diff)
downloadingen-5c0d12b6a96e1a0468f81ee14e6440f4f6d570bb.tar.gz
ingen-5c0d12b6a96e1a0468f81ee14e6440f4f6d570bb.tar.bz2
ingen-5c0d12b6a96e1a0468f81ee14e6440f4f6d570bb.zip
Don't show empty plugin category menus.
git-svn-id: http://svn.drobilla.net/lad/ingen@607 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/PatchCanvas.h')
-rw-r--r--src/libs/gui/PatchCanvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/PatchCanvas.h b/src/libs/gui/PatchCanvas.h
index da33142b..1cf9f410 100644
--- a/src/libs/gui/PatchCanvas.h
+++ b/src/libs/gui/PatchCanvas.h
@@ -87,7 +87,7 @@ private:
void menu_load_patch();
void load_plugin(SharedPtr<PluginModel> plugin);
void build_plugin_menu();
- void build_plugin_class_menu(Gtk::Menu* menu,
+ size_t build_plugin_class_menu(Gtk::Menu* menu,
SLV2PluginClass plugin_class, SLV2PluginClasses classes);
MetadataMap get_initial_data();