From 8bc9aca63644d63de3ccccbb4752e79d3d3c7854 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Apr 2011 02:03:23 +0000 Subject: Don't hide pointers behind typedefs. Use const appropriately in API (makes it clear from the type whether objects should be freed or not). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3222 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/PatchCanvas.hpp') diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp index 7be3a813..1263b8ac 100644 --- a/src/gui/PatchCanvas.hpp +++ b/src/gui/PatchCanvas.hpp @@ -111,14 +111,14 @@ private: void auto_menu_position(int& x, int& y, bool& push_in); #ifdef HAVE_LILV - typedef std::multimap LV2Children; + typedef std::multimap LV2Children; void build_plugin_menu(); size_t build_plugin_class_menu( - Gtk::Menu* menu, - LilvPluginClass plugin_class, - LilvPluginClasses classes, - const LV2Children& children, - std::set& ancestors); + Gtk::Menu* menu, + const LilvPluginClass* plugin_class, + const LilvPluginClasses* classes, + const LV2Children& children, + std::set& ancestors); #endif GraphObject::Properties get_initial_data(); -- cgit v1.2.1