From f936a6da1f4885db54365d81ee5959e84d359e85 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Apr 2011 06:02:12 +0000 Subject: More future-proof collection APIs. Make all iterator actions occur through a collection specific function. Verbose, and a low of API, but allows for the possibility of different collection implementation types (given a choice between verbosity and no type safety, I'll take verbosity). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3211 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/PatchCanvas.cpp') diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 334b7035..9ff0ba31 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -263,7 +263,7 @@ PatchCanvas::build_plugin_menu() SLV2PluginClasses classes = slv2_world_get_plugin_classes(PluginModel::slv2_world()); LV2Children children; - SLV2_FOREACH(i, classes) { + SLV2_FOREACH(plugin_classes, i, classes) { SLV2PluginClass c = slv2_plugin_classes_get(classes, i); SLV2Value p = slv2_plugin_class_get_parent_uri(c); if (!p) -- cgit v1.2.1