[gnote] Replace std::string by Glib::ustring



commit ad095938ff6c7b10d05422c0ad6462027f80b339
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Feb 19 20:52:32 2017 +0200

    Replace std::string by Glib::ustring

 src/test/testnotemanager.cpp |    4 ++--
 src/test/testsyncclient.hpp  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/test/testnotemanager.cpp b/src/test/testnotemanager.cpp
index ef24540..7833059 100644
--- a/src/test/testnotemanager.cpp
+++ b/src/test/testnotemanager.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2014 Aurimas Cernius
+ * Copyright (C) 2014,2017 Aurimas Cernius
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -33,7 +33,7 @@ Glib::ustring NoteManager::test_notes_dir()
 NoteManager::NoteManager(const Glib::ustring & notesdir)
   : gnote::NoteManagerBase(notesdir)
 {
-  std::string backup = notesdir + "/Backup";
+  Glib::ustring backup = notesdir + "/Backup";
   _common_init(notesdir, backup);
 }
 
diff --git a/src/test/testsyncclient.hpp b/src/test/testsyncclient.hpp
index 8308edf..067af82 100644
--- a/src/test/testsyncclient.hpp
+++ b/src/test/testsyncclient.hpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2014 Aurimas Cernius
+ * Copyright (C) 2014,2017 Aurimas Cernius
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -35,7 +35,7 @@ public:
 
   SyncClient(gnote::NoteManagerBase & manager);
 
-  void set_manifest_path(const std::string & path)
+  void set_manifest_path(const Glib::ustring & path)
   {
     m_local_manifest_file_path = path;
   }


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