[gnote] Replace string list by std::vector in noteeditor.cpp
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace string list by std::vector in noteeditor.cpp
- Date: Wed, 1 Jun 2011 20:10:01 +0000 (UTC)
commit 92c94c8d25866df48548d01aa5ca14151bbe88ba
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Wed Jun 1 22:59:03 2011 +0300
Replace string list by std::vector in noteeditor.cpp
src/noteeditor.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/noteeditor.cpp b/src/noteeditor.cpp
index 48d641d..23d019b 100644
--- a/src/noteeditor.cpp
+++ b/src/noteeditor.cpp
@@ -158,8 +158,8 @@ namespace gnote {
{
bool has_url = false;
- Gdk::ListHandle_AtomString targets = context->get_targets();
- for(Gdk::ListHandle_AtomString::const_iterator iter = targets.begin();
+ std::vector<std::string> targets = context->list_targets();
+ for(std::vector<std::string>::const_iterator iter = targets.begin();
iter != targets.end(); ++iter) {
const std::string & target(*iter);
if (target == "text/uri-list" ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]