summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-01 20:19:07 +0000
committerDavid Robillard <d@drobilla.net>2011-12-01 20:19:07 +0000
commitf0a75a3f1d835bc235953d03e1b219bc8d6fcfab (patch)
treee5579036cb58c7086b4f40d09601d449cf9421fe /src/gui/NodeModule.cpp
parent3fbbae59dc5f6ea3f610777fa19199a29f48ac91 (diff)
downloadingen-f0a75a3f1d835bc235953d03e1b219bc8d6fcfab.tar.gz
ingen-f0a75a3f1d835bc235953d03e1b219bc8d6fcfab.tar.bz2
ingen-f0a75a3f1d835bc235953d03e1b219bc8d6fcfab.zip
Fix compilation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3728 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index f30e2fc4..79ca74eb 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -405,7 +405,7 @@ NodeModule::property_changed(const URI& key, const Atom& value)
if (key == uris.ingen_polyphonic) {
set_stacked_border(value.get_bool());
} else if (key == uris.ingen_selected) {
- if (value.get_bool() != selected()) {
+ if (value.get_bool() != get_selected()) {
if (value.get_bool())
_canvas->select_item(this);
else
@@ -423,10 +423,10 @@ NodeModule::property_changed(const URI& key, const Atom& value)
}
void
-NodeModule::set_selected(bool b)
+NodeModule::set_selected(gboolean b)
{
const URIs& uris = app().uris();
- if (b != selected()) {
+ if (b != get_selected()) {
Module::set_selected(b);
if (b) {
PatchWindow* win = app().window_factory()->parent_patch_window(node());