[gnote] Make Note ctor public
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Make Note ctor public
- Date: Mon, 23 Dec 2019 16:40:50 +0000 (UTC)
commit fc6e6699f0b0b39ef057c092a951e7472a93a38b
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Dec 23 18:30:18 2019 +0200
Make Note ctor public
src/note.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/note.hpp b/src/note.hpp
index fbd1fe33..491ded28 100644
--- a/src/note.hpp
+++ b/src/note.hpp
@@ -105,6 +105,8 @@ public:
Glib::ustring filepath,
NoteManager & manager,
IGnote & g);
+
+ Note(std::unique_ptr<NoteData> _data, const Glib::ustring & filepath, NoteManager & manager, IGnote & g);
virtual void delete_note() override;
static Note::Ptr load(const Glib::ustring &, NoteManager &, IGnote &);
virtual void save() override;
@@ -184,8 +186,6 @@ private:
void on_note_window_embedded();
void on_note_window_foregrounded();
- Note(std::unique_ptr<NoteData> _data, const Glib::ustring & filepath, NoteManager & manager, IGnote & g);
-
struct ChildWidgetData
{
ChildWidgetData(const Glib::RefPtr<Gtk::TextChildAnchor> & _anchor,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]