summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchView.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-20 03:27:08 +0000
committerDavid Robillard <d@drobilla.net>2011-05-20 03:27:08 +0000
commit4999a7199470ee751d710cfca2a39b4fdc561a82 (patch)
tree9c3d83689ec89037c3ba22f3f5940857513ae189 /src/gui/PatchView.cpp
parentb5bbad8f77e65f8fc8655287f0d2004ebee7c787 (diff)
downloadingen-4999a7199470ee751d710cfca2a39b4fdc561a82.tar.gz
ingen-4999a7199470ee751d710cfca2a39b4fdc561a82.tar.bz2
ingen-4999a7199470ee751d710cfca2a39b4fdc561a82.zip
Remove dependency on glade and glademm (migrate to GtkBuilder).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3295 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchView.cpp')
-rw-r--r--src/gui/PatchView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp
index 4df3d4b7..04d6cf9c 100644
--- a/src/gui/PatchView.cpp
+++ b/src/gui/PatchView.cpp
@@ -28,7 +28,7 @@
#include "NewSubpatchWindow.hpp"
#include "NodeControlWindow.hpp"
#include "PatchTreeWindow.hpp"
-#include "GladeFactory.hpp"
+#include "WidgetFactory.hpp"
using namespace std;
using namespace Raul;
@@ -36,8 +36,8 @@ using namespace Raul;
namespace Ingen {
namespace GUI {
-PatchView::PatchView(BaseObjectType* cobject,
- const Glib::RefPtr<Gnome::Glade::Xml>& xml)
+PatchView::PatchView(BaseObjectType* cobject,
+ const Glib::RefPtr<Gtk::Builder>& xml)
: Gtk::Box(cobject)
, _breadcrumb_container(NULL)
, _enable_signal(true)
@@ -117,7 +117,7 @@ PatchView::set_patch(SharedPtr<const PatchModel> patch)
SharedPtr<PatchView>
PatchView::create(SharedPtr<const PatchModel> patch)
{
- const Glib::RefPtr<Gnome::Glade::Xml>& xml = GladeFactory::new_glade_reference("patch_view_box");
+ const Glib::RefPtr<Gtk::Builder>& xml = WidgetFactory::create("patch_view_box");
PatchView* result = NULL;
xml->get_widget_derived("patch_view_box", result);
assert(result);