[gnote] Replace std::string by Glib::ustring in table of contents
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace std::string by Glib::ustring in table of contents
- Date: Sun, 12 Feb 2017 15:15:40 +0000 (UTC)
commit 10d4465bbb6089f766c91f75757809933684244e
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Feb 12 16:40:15 2017 +0200
Replace std::string by Glib::ustring in table of contents
.../tableofcontents/tableofcontentsmenuitem.cpp | 4 ++--
.../tableofcontents/tableofcontentsmenuitem.hpp | 5 ++---
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/addins/tableofcontents/tableofcontentsmenuitem.cpp
b/src/addins/tableofcontents/tableofcontentsmenuitem.cpp
index e880c4e..fcdf04f 100644
--- a/src/addins/tableofcontents/tableofcontentsmenuitem.cpp
+++ b/src/addins/tableofcontents/tableofcontentsmenuitem.cpp
@@ -2,7 +2,7 @@
* "Table of Contents" is a Note add-in for Gnote.
* It lists note's table of contents in a menu.
*
- * Copyright (C) 2015 Aurimas Cernius <aurisc4 gmail com>
+ * Copyright (C) 2015,2017 Aurimas Cernius <aurisc4 gmail com>
* Copyright (C) 2013 Luc Pionchon <pionchon luc gmail com>
*
* This program is free software: you can redistribute it and/or modify
@@ -37,7 +37,7 @@ namespace tableofcontents {
TableofcontentsMenuItem::TableofcontentsMenuItem (
const gnote::Note::Ptr & note,
- const std::string & heading,
+ const Glib::ustring & heading,
Heading::Type heading_level,
int heading_position)
: m_note (note)
diff --git a/src/addins/tableofcontents/tableofcontentsmenuitem.hpp
b/src/addins/tableofcontents/tableofcontentsmenuitem.hpp
index 43ade25..31fe448 100644
--- a/src/addins/tableofcontents/tableofcontentsmenuitem.hpp
+++ b/src/addins/tableofcontents/tableofcontentsmenuitem.hpp
@@ -3,7 +3,7 @@
* It lists note's table of contents in a menu.
*
* Copyright (C) 2013 Luc Pionchon <pionchon luc gmail com>
- * Copyright (C) 2013 Aurimas Cernius
+ * Copyright (C) 2013,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
@@ -24,7 +24,6 @@
#ifndef __TABLEOFCONTENT_MENU_ITEM_HPP_
#define __TABLEOFCONTENT_MENU_ITEM_HPP_
-#include <string>
#include <gtkmm/imagemenuitem.h>
#include "base/macros.hpp"
@@ -39,7 +38,7 @@ class TableofcontentsMenuItem : public Gtk::ImageMenuItem
{
public:
TableofcontentsMenuItem ( const gnote::Note::Ptr & note,
- const std::string & heading,
+ const Glib::ustring & heading,
Heading::Type heading_level,
int heading_position
);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]