diff options
author | David Robillard <d@drobilla.net> | 2011-05-20 03:27:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-20 03:27:08 +0000 |
commit | 4999a7199470ee751d710cfca2a39b4fdc561a82 (patch) | |
tree | 9c3d83689ec89037c3ba22f3f5940857513ae189 /src/gui/WindowFactory.cpp | |
parent | b5bbad8f77e65f8fc8655287f0d2004ebee7c787 (diff) | |
download | ingen-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/WindowFactory.cpp')
-rw-r--r-- | src/gui/WindowFactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/WindowFactory.cpp b/src/gui/WindowFactory.cpp index 56f4dd74..99cf9d1d 100644 --- a/src/gui/WindowFactory.cpp +++ b/src/gui/WindowFactory.cpp @@ -19,7 +19,7 @@ #include "ingen-config.h" #include "client/PatchModel.hpp" #include "App.hpp" -#include "GladeFactory.hpp" +#include "WidgetFactory.hpp" #include "LoadPatchWindow.hpp" #include "LoadPluginWindow.hpp" #include "LoadRemotePatchWindow.hpp" @@ -47,7 +47,7 @@ WindowFactory::WindowFactory() , _new_subpatch_win(NULL) , _properties_win(NULL) { - Glib::RefPtr<Gnome::Glade::Xml> xml = GladeFactory::new_glade_reference(); + Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create(); xml->get_widget_derived("load_plugin_win", _load_plugin_win); xml->get_widget_derived("load_patch_win", _load_patch_win); @@ -169,7 +169,7 @@ WindowFactory::new_patch_window(SharedPtr<const PatchModel> patch, { assert( !view || view->patch() == patch); - Glib::RefPtr<Gnome::Glade::Xml> xml = GladeFactory::new_glade_reference("patch_win"); + Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create("patch_win"); PatchWindow* win = NULL; xml->get_widget_derived("patch_win", win); |