[gnote] Use std::vector for selected rows in recentchanges
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Use std::vector for selected rows in recentchanges
- Date: Wed, 1 Jun 2011 20:10:16 +0000 (UTC)
commit 9da0bad152a8f06ca89a417dcb67c8e6bcf6a1aa
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Tue May 31 23:04:12 2011 +0300
Use std::vector for selected rows in recentchanges
Adapt to Gtkmm 3 changes.
src/recentchanges.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 936fde2..c53ccb0 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -992,13 +992,13 @@ namespace gnote {
const Glib::RefPtr<Gtk::TreeSelection> selection
= tree->get_selection();
- const std::list<Gtk::TreePath> selected_rows
+ const std::vector<Gtk::TreePath> selected_rows
= selection->get_selected_rows();
if (selected_rows.empty())
return;
const Gtk::TreePath & dest_path = selected_rows.front();
- const std::list<Gtk::TreeViewColumn *> columns
+ const std::vector<Gtk::TreeViewColumn *> columns
= tree->get_columns();
Gdk::Rectangle cell_rect;
tree->get_cell_area (dest_path, *columns.front(), cell_rect);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]