From f24141dea2613d211785036f1e7127320c050d71 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 4 Mar 2011 11:16:43 +0100 Subject: Gio::Application::open(file): Fix this. * gio/src/application.ccg: There should be one item, not two. --- ChangeLog | 6 ++++++ gio/src/application.ccg | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a9a05077..6935ec33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-04 Murray Cumming + + Gio::Application::open(file): Fix this. + + * gio/src/application.ccg: There should be one item, not two. + 2011-03-04 Murray Cumming Gio::Application: open(): Added a single-file method overload. diff --git a/gio/src/application.ccg b/gio/src/application.ccg index d4297b48..25b0a630 100644 --- a/gio/src/application.ccg +++ b/gio/src/application.ccg @@ -197,7 +197,7 @@ void Application::open(const type_vec_files& files, const Glib::ustring& hint) void Application::open(const Glib::RefPtr& file, const Glib::ustring& hint) { type_vec_files files(1); - files.push_back(file); + files[0] = file; open(files, hint); } -- cgit v1.2.1