diff options
Diffstat (limited to 'src/gui/MachinaGUI.cpp')
-rw-r--r-- | src/gui/MachinaGUI.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp index d4c4841..779bcfc 100644 --- a/src/gui/MachinaGUI.cpp +++ b/src/gui/MachinaGUI.cpp @@ -23,7 +23,6 @@ #include <limits.h> #include <pthread.h> #include <libgnomecanvasmm.h> -#include <libglademm/xml.h> #include "sord/sordmm.hpp" #include "machina/Controller.hpp" #include "machina/Engine.hpp" @@ -31,7 +30,7 @@ #include "machina/Mutation.hpp" #include "machina/Updates.hpp" #include "client/ClientModel.hpp" -#include "GladeXml.hpp" +#include "WidgetFactory.hpp" #include "MachinaGUI.hpp" #include "MachinaCanvas.hpp" #include "NodeView.hpp" @@ -54,7 +53,7 @@ MachinaGUI::MachinaGUI(SharedPtr<Machina::Engine> engine) { _canvas = boost::shared_ptr<MachinaCanvas>(new MachinaCanvas(this, 1600*2, 1200*2)); - Glib::RefPtr<Gnome::Glade::Xml> xml = GladeXml::create(); + Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create(); xml->get_widget("machina_win", _main_window); xml->get_widget("about_win", _about_window); |