summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchView.cpp4
-rw-r--r--src/gui/PatchView.hpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp
index e3741e52..6dee326b 100644
--- a/src/gui/PatchView.cpp
+++ b/src/gui/PatchView.cpp
@@ -111,11 +111,13 @@ PatchView::set_patch(SharedPtr<const PatchModel> patch)
_poly_spin->signal_value_changed().connect(
sigc::mem_fun(*this, &PatchView::poly_changed));
+ #if 0
_canvas->signal_item_entered.connect(
sigc::mem_fun(*this, &PatchView::canvas_item_entered));
_canvas->signal_item_left.connect(
sigc::mem_fun(*this, &PatchView::canvas_item_left));
+ #endif
_canvas->grab_focus();
}
@@ -152,6 +154,7 @@ PatchView::set_editable(bool editable)
_canvas->lock(!editable);
}
+#if 0
void
PatchView::canvas_item_entered(Gnome::Canvas::Item* item)
{
@@ -177,6 +180,7 @@ PatchView::canvas_item_left(Gnome::Canvas::Item* item)
if (p)
signal_object_left.emit(p->model().get());
}
+#endif
void
PatchView::process_toggled()
diff --git a/src/gui/PatchView.hpp b/src/gui/PatchView.hpp
index 52d33331..cc221bde 100644
--- a/src/gui/PatchView.hpp
+++ b/src/gui/PatchView.hpp
@@ -80,8 +80,10 @@ private:
void on_editable_sig(bool locked);
void editable_toggled();
+ #if 0
void canvas_item_entered(Gnome::Canvas::Item* item);
void canvas_item_left(Gnome::Canvas::Item* item);
+ #endif
void property_changed(const Raul::URI& predicate, const Raul::Atom& value);