Commit 51fd9151 authored by Graeme Gott's avatar Graeme Gott

Remove unused function.

parent 9a4356d9
......@@ -110,13 +110,6 @@ void LauncherIconView::activate_path(GtkTreePath* path)
//-----------------------------------------------------------------------------
void LauncherIconView::scroll_to_path(GtkTreePath* path)
{
gtk_icon_view_scroll_to_path(m_view, path, true, 0.5f, 0.5f);
}
//-----------------------------------------------------------------------------
void LauncherIconView::select_path(GtkTreePath* path)
{
gtk_icon_view_select_path(m_view, path);
......
......@@ -38,7 +38,6 @@ public:
GtkTreePath* get_path_at_pos(int x, int y) const;
GtkTreePath* get_selected_path() const;
void activate_path(GtkTreePath* path);
void scroll_to_path(GtkTreePath* path);
void select_path(GtkTreePath* path);
void set_cursor(GtkTreePath* path);
......
......@@ -114,13 +114,6 @@ void LauncherTreeView::activate_path(GtkTreePath* path)
//-----------------------------------------------------------------------------
void LauncherTreeView::scroll_to_path(GtkTreePath* path)
{
gtk_tree_view_scroll_to_cell(m_view, path, nullptr, true, 0.5f, 0.5f);
}
//-----------------------------------------------------------------------------
void LauncherTreeView::select_path(GtkTreePath* path)
{
GtkTreeSelection* selection = gtk_tree_view_get_selection(m_view);
......
......@@ -38,7 +38,6 @@ public:
GtkTreePath* get_path_at_pos(int x, int y) const;
GtkTreePath* get_selected_path() const;
void activate_path(GtkTreePath* path);
void scroll_to_path(GtkTreePath* path);
void select_path(GtkTreePath* path);
void set_cursor(GtkTreePath* path);
......
......@@ -39,7 +39,6 @@ public:
virtual GtkTreePath* get_path_at_pos(int x, int y) const=0;
virtual GtkTreePath* get_selected_path() const=0;
virtual void activate_path(GtkTreePath* path)=0;
virtual void scroll_to_path(GtkTreePath* path)=0;
virtual void select_path(GtkTreePath* path)=0;
virtual void set_cursor(GtkTreePath* path)=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment