[gdlmm] Fix compilation of the example
- From: Fabien Parent <fparent src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdlmm] Fix compilation of the example
- Date: Wed, 23 Nov 2011 18:14:31 +0000 (UTC)
commit 238a07e6ce2a4eacfd522b9ca0626c2d7d95a2d4
Author: Fabien Parent <parent f gmail com>
Date: Wed Nov 23 19:01:26 2011 +0100
Fix compilation of the example
examples/dock.cc | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/examples/dock.cc b/examples/dock.cc
index 5a151c4..4e55321 100644
--- a/examples/dock.cc
+++ b/examples/dock.cc
@@ -30,7 +30,6 @@ public:
m_ph4("ph4", m_dock, Gdl::DOCK_RIGHT, false)
{
Gtk::Button* save_button = new Gtk::Button(Gtk::Stock::SAVE);
- Gtk::Button* layout_manager_button = new Gtk::Button("Layout Manager");
Gtk::Button* dump_button = new Gtk::Button("Dump XML");
Gdl::DockBar* dockbar = new Gdl::DockBar(m_dock);
@@ -48,13 +47,10 @@ public:
box->pack_end(m_dock);
button_box->pack_end(*Gtk::manage(save_button), false, true);
- button_box->pack_end(*Gtk::manage(layout_manager_button), false, true);
button_box->pack_end(*Gtk::manage(dump_button), false, true);
save_button->signal_clicked().connect(sigc::mem_fun
(*this, &GdlExampleWindow::save_layout));
- layout_manager_button->signal_clicked().connect(sigc::mem_fun
- (*this, &GdlExampleWindow::run_layout_manager));
dump_button->signal_clicked().connect(sigc::mem_fun
(*this, &GdlExampleWindow::dump_xml));
@@ -137,11 +133,6 @@ protected:
m_layout_manager->save_to_file("layout.xml");
}
- void run_layout_manager ()
- {
- m_layout_manager->run_manager();
- }
-
void save_layout()
{
Gtk::Dialog dialog("New Layout");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]