[solang] Use the typedef instead of std::vector<Gtk::TreeModel::Path>



commit c7c47192c1b9d3ccb8065817d206f8606264cfba
Author: Debarshi Ray <rishi gnu org>
Date:   Wed Mar 10 11:49:12 2010 +0200

    Use the typedef instead of std::vector<Gtk::TreeModel::Path>

 src/renderer/thumbnail-view.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/renderer/thumbnail-view.cpp b/src/renderer/thumbnail-view.cpp
index 7e326d4..607b28b 100644
--- a/src/renderer/thumbnail-view.cpp
+++ b/src/renderer/thumbnail-view.cpp
@@ -173,9 +173,8 @@ PhotoList
 ThumbnailView::get_selected_photos() throw()
 {
     PhotoList photos;
-    const std::vector<Gtk::TreeModel::Path> items
-        = get_selected_items();
-    std::vector<Gtk::TreeModel::Path>::const_iterator iter;
+    const TreePathList items = get_selected_items();
+    TreePathList::const_iterator iter;
 
     for (iter = items.begin(); items.end() != iter; iter++)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]