summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-18 08:28:17 +0000
committerDavid Robillard <d@drobilla.net>2010-02-18 08:28:17 +0000
commit120205ca446ee280f8608a9bf3113d3fdebf445d (patch)
tree0b22ad9e7795491a88873f56901138483b463e50
parent0de439d914553a265f26a8e263f2f4a567552b59 (diff)
downloadingen-120205ca446ee280f8608a9bf3113d3fdebf445d.tar.gz
ingen-120205ca446ee280f8608a9bf3113d3fdebf445d.tar.bz2
ingen-120205ca446ee280f8608a9bf3113d3fdebf445d.zip
Use property_visible instead of set_visible which is apparently missing from some gtkmm version or another.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2463 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/LoadPatchWindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/LoadPatchWindow.cpp b/src/gui/LoadPatchWindow.cpp
index 127cc9c0..b504822f 100644
--- a/src/gui/LoadPatchWindow.cpp
+++ b/src/gui/LoadPatchWindow.cpp
@@ -100,11 +100,11 @@ LoadPatchWindow::present(SharedPtr<PatchModel> patch, bool import, GraphObject::
{
_import = import;
set_patch(patch);
- _symbol_label->set_visible(!import);
- _symbol_entry->set_visible(!import);
- _ports_label->set_visible(_import);
- _merge_ports_radio->set_visible(_import);
- _insert_ports_radio->set_visible(_import);
+ _symbol_label->property_visible() = !import;
+ _symbol_entry->property_visible() = !import;
+ _ports_label->property_visible() = _import;
+ _merge_ports_radio->property_visible() = _import;
+ _insert_ports_radio->property_visible() = _import;
_initial_data = data;
Gtk::Window::present();
}