[glom] Deal with minor TODOs



commit 0938b79c6533be45ed22fc656408b8f97c722c76
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Apr 1 19:53:02 2013 +0200

    Deal with minor TODOs

 glom/bakery/appwindow_withdoc_gtk.cc               |    8 +-------
 .../layout/report_parts/layoutitem_groupby.h       |    1 -
 2 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/glom/bakery/appwindow_withdoc_gtk.cc b/glom/bakery/appwindow_withdoc_gtk.cc
index 6aeaaee..a5661c7 100644
--- a/glom/bakery/appwindow_withdoc_gtk.cc
+++ b/glom/bakery/appwindow_withdoc_gtk.cc
@@ -552,13 +552,7 @@ void AppWindow_WithDoc_Gtk::document_history_add(const Glib::ustring& file_uri)
   if(!file_exists(file_uri))
     return;
 
-  {
-    //TODO: Wrap gnome_vfs_escape_path_string() in gnome-vfsmm.
-    //Glib::ustring filename_e = Gnome::Vfs::escape_path_string(file_uri);
-    const Glib::ustring uri = file_uri; // "file://" + filename_e;
-
-    Gtk::RecentManager::get_default()->add_item(uri);
-  }
+  Gtk::RecentManager::get_default()->add_item(file_uri);
 }
 
 void AppWindow_WithDoc_Gtk::document_history_remove(const Glib::ustring& file_uri)
diff --git a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h 
b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
index 8b0e141..850d2c2 100644
--- a/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
+++ b/glom/libglom/data_structure/layout/report_parts/layoutitem_groupby.h
@@ -71,7 +71,6 @@ public:
   sharedptr<LayoutGroup> get_secondary_fields();
   sharedptr<const LayoutGroup> get_secondary_fields() const;
 
-  //TODO: Is this used by anything?
   type_list_sort_fields get_sort_by() const;
   void set_sort_by(const type_list_sort_fields& sort_by);
   


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