[gnote] Replace std::string by Glib::ustring in replacetitle
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace std::string by Glib::ustring in replacetitle
- Date: Sun, 12 Feb 2017 15:15:30 +0000 (UTC)
commit 7db86253ef643589d91f2e237c0e2014113d9eb4
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Feb 12 16:34:04 2017 +0200
Replace std::string by Glib::ustring in replacetitle
src/addins/replacetitle/replacetitlenoteaddin.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/replacetitle/replacetitlenoteaddin.cpp
b/src/addins/replacetitle/replacetitlenoteaddin.cpp
index 4ac3431..40c94c4 100644
--- a/src/addins/replacetitle/replacetitlenoteaddin.cpp
+++ b/src/addins/replacetitle/replacetitlenoteaddin.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2011-2013,2016 Aurimas Cernius
+ * Copyright (C) 2011-2013,2016-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
@@ -59,7 +59,7 @@ void ReplaceTitleNoteAddin::replacetitle_button_clicked(const Glib::VariantBase&
{
// unix primary clipboard
Glib::RefPtr<Gtk::Clipboard> refClipboard = Gtk::Clipboard::get(GDK_SELECTION_PRIMARY);
- const std::string newTitle= refClipboard->wait_for_text();
+ const Glib::ustring newTitle = refClipboard->wait_for_text();
Glib::RefPtr<Gtk::TextBuffer> buffer = get_note()->get_buffer();
// replace note content
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]