summaryrefslogtreecommitdiffstats
path: root/src/Widget.hpp
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
commitf514dcc9e339cbffa42fcc4e1381f18205e301b5 (patch)
tree298053cc51e8bd0dc4ab5d99cbc2cfad6decc6bd /src/Widget.hpp
parent09ebe1211eeb0c849fcaa60497d60323640fff5d (diff)
downloadpatchage-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/Widget.hpp')
-rw-r--r--src/Widget.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Widget.hpp b/src/Widget.hpp
index 1a80593..b0cf314 100644
--- a/src/Widget.hpp
+++ b/src/Widget.hpp
@@ -21,13 +21,13 @@
#include <string>
#include <boost/utility.hpp>
-#include <libglademm/xml.h>
+#include <gtkmm.h>
template <typename W>
class Widget : public boost::noncopyable {
public:
- Widget(Glib::RefPtr<Gnome::Glade::Xml> xml, const std::string& name) {
- xml->get_widget(name.c_str(), _me);
+ Widget(Glib::RefPtr<Gtk::Builder> xml, const std::string& name) {
+ xml->get_widget(name, _me);
}
void destroy() { delete _me; }