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 | f514dcc9e339cbffa42fcc4e1381f18205e301b5 (patch) | |
tree | 298053cc51e8bd0dc4ab5d99cbc2cfad6decc6bd /src/Patchage.cpp | |
parent | 09ebe1211eeb0c849fcaa60497d60323640fff5d (diff) | |
download | patchage-f514dcc9e339cbffa42fcc4e1381f18205e301b5.tar.gz patchage-f514dcc9e339cbffa42fcc4e1381f18205e301b5.tar.bz2 patchage-f514dcc9e339cbffa42fcc4e1381f18205e301b5.zip |
Remove dependency on glade and glademm (migrate to GtkBuilder).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3295 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index d6f94d9..ac1a6e2 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -22,14 +22,14 @@ #include <sstream> #include <gtk/gtkwindow.h> -#include <libglademm/xml.h> +#include <gtkmm.h> #include <libgnomecanvasmm.h> #include "flowcanvas/Module.hpp" #include "raul/SharedPtr.hpp" #include "patchage-config.h" -#include "GladeFile.hpp" +#include "UIFile.hpp" #include "Patchage.hpp" #include "PatchageCanvas.hpp" #include "PatchageEvent.hpp" @@ -61,6 +61,10 @@ using std::cout; using std::endl; using std::string; +struct ProjectList_column_record : public Gtk::TreeModel::ColumnRecord { + Gtk::TreeModelColumn<Glib::ustring> label; +}; + /* Gtk helpers (resize combo boxes) */ static void @@ -94,7 +98,7 @@ gtkmm_set_width_for_given_text (Gtk::Widget &w, const gchar *text, #define INIT_WIDGET(x) x(_xml, ((const char*)#x) + 1) Patchage::Patchage(int argc, char** argv) - : _xml(GladeFile::open("patchage")) + : _xml(UIFile::open("patchage")) #ifdef HAVE_LASH , _dbus(NULL) , _lash_proxy(NULL) |