[gnote] Use std::vector for notebookstreeview targets
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Use std::vector for notebookstreeview targets
- Date: Wed, 1 Jun 2011 20:10:51 +0000 (UTC)
commit c5393af7cc938c11093009605d7d78a5d29e40bb
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Tue May 31 23:11:14 2011 +0300
Use std::vector for notebookstreeview targets
Replace std::list with std::vector.
src/notebooks/notebookstreeview.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/notebooks/notebookstreeview.cpp b/src/notebooks/notebookstreeview.cpp
index 1e8f3e6..b6d368b 100644
--- a/src/notebooks/notebookstreeview.cpp
+++ b/src/notebooks/notebookstreeview.cpp
@@ -1,6 +1,7 @@
/*
* gnote
*
+ * Copyright (C) 2011 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -39,7 +40,7 @@ namespace gnote {
{
// Set up the notebooksTree as a drag target so that notes
// can be dragged into the notebook.
- std::list<Gtk::TargetEntry> targets;
+ std::vector<Gtk::TargetEntry> targets;
targets.push_back(Gtk::TargetEntry ("text/uri-list",
Gtk::TARGET_SAME_APP,
1));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]