[glom] Deal with a TODO



commit 133d74c891fb3a6fd1a367fa6880184224344cc1
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Mar 11 12:43:16 2013 +0100

    Deal with a TODO

 glom/utility_widgets/imageglom.cc |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/glom/utility_widgets/imageglom.cc b/glom/utility_widgets/imageglom.cc
index 8740ae4..729f97a 100644
--- a/glom/utility_widgets/imageglom.cc
+++ b/glom/utility_widgets/imageglom.cc
@@ -631,12 +631,7 @@ void ImageGlom::open_with(const Glib::RefPtr<Gio::AppInfo>& app_info)
 
   if(app_info)
   {
-    std::vector<std::string> vec_uris;
-    vec_uris.push_back(uri);
-    app_info->launch_uris(vec_uris, 0); //TODO: Get a GdkAppLaunchContext?
-    
-    //TODO Use this instead when we can use glibmm 3.2:
-    //app_info->launch_uri(uri);
+    app_info->launch_uri(uri); //TODO: Get a GdkAppLaunchContext?
   }
   else
   {


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