[glom/glom-1-22] Deal with a TODO



commit c39e36e5fb8793d9f8084ea842849cdb247711fc
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 44beacb..89aad7a 100644
--- a/glom/utility_widgets/imageglom.cc
+++ b/glom/utility_widgets/imageglom.cc
@@ -628,12 +628,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]