summaryrefslogtreecommitdiff
diff options
authorNick Dedekind <nicholas.dedekind@gmail.com>2012-07-13 15:06:04 +0100
committerNick Dedekind <nicholas.dedekind@gmail.com>2012-07-13 15:06:04 +0100
commitd9170c4708b5702936a95d200685f98f6666ec40 (patch)
treef8519bba63efca54d7fe1cf63e8fca319136e459
parent25612ee258bea3b9037473ec6fe82413afd7e060 (diff)
fixed build
(bzr r2419.4.20)
-rw-r--r--dash/previews/PreviewContainer.cpp8
-rw-r--r--dash/previews/PreviewContainer.h1
2 files changed, 4 insertions, 5 deletions
diff --git a/dash/previews/PreviewContainer.cpp b/dash/previews/PreviewContainer.cpp
index ad1265276..9c6fb291f 100644
--- a/dash/previews/PreviewContainer.cpp
+++ b/dash/previews/PreviewContainer.cpp
@@ -208,10 +208,7 @@ PreviewContainer::PreviewContainer(NUX_FILE_LINE_DECL)
last_progress_time_.tv_sec = 0;
last_progress_time_.tv_nsec = 0;
- mouse_move.connect(sigc::mem_fun(this, &PreviewContainer::RecvMouseMove));
key_down.connect(sigc::mem_fun(this, &PreviewContainer::OnKeyDown));
- key_nav_focus_change.connect(sigc::mem_fun(this, &PreviewContainer::OnKeyNavFocusChange));
-
}
PreviewContainer::~PreviewContainer()
@@ -447,8 +444,11 @@ void PreviewContainer::OnKeyDown(unsigned long event_type, unsigned long event_k
}
}
-
nux::Area* PreviewContainer::KeyNavIteration(nux::KeyNavDirection direction)
{
return this;
}
+
+} // namespace previews
+} // namespace dash
+} // namespace unity \ No newline at end of file
diff --git a/dash/previews/PreviewContainer.h b/dash/previews/PreviewContainer.h
index 943c1a238..c002ebfc9 100644
--- a/dash/previews/PreviewContainer.h
+++ b/dash/previews/PreviewContainer.h
@@ -80,7 +80,6 @@ protected:
void DrawContent(nux::GraphicsEngine& gfx_engine, bool force_draw);
nux::Area* KeyNavIteration(nux::KeyNavDirection direction);
- void OnKeyNavFocusChange(nux::Area *area, bool has_focus, nux::KeyNavDirection direction);
bool InspectKeyEvent(unsigned int eventType, unsigned int keysym, const char* character);
void OnKeyDown(unsigned long event_type, unsigned long event_keysym, unsigned long event_state, const TCHAR* character, unsigned short key_repeat_count);