From 120205ca446ee280f8608a9bf3113d3fdebf445d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Feb 2010 08:28:17 +0000 Subject: 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 --- src/gui/LoadPatchWindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui') 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 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(); } -- cgit v1.2.1