[gnote] Update export to html



commit 5cb6659b46b8b303799acb33463d7cda4ca826ff
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Oct 6 21:45:50 2019 +0300

    Update export to html

 src/addins/exporttohtml/exporttohtml.desktop.in.in | 2 +-
 src/addins/exporttohtml/exporttohtmlnoteaddin.cpp  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/exporttohtml/exporttohtml.desktop.in.in 
b/src/addins/exporttohtml/exporttohtml.desktop.in.in
index f77f1988..a3c72e8a 100644
--- a/src/addins/exporttohtml/exporttohtml.desktop.in.in
+++ b/src/addins/exporttohtml/exporttohtml.desktop.in.in
@@ -4,7 +4,7 @@ _Name=Export to HTML
 _Description=Exports individual notes to HTML.
 _Authors=Hubert Figuiere and the Tomboy Project
 Category=Tools
-Version=0.6
+Version=0.7
 DefaultEnabled=false
 Module=libexporttohtml
 LibgnoteRelease=@LIBGNOTE_RELEASE@
diff --git a/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp 
b/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
index 944ef97e..5cd13ca2 100644
--- a/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
+++ b/src/addins/exporttohtml/exporttohtmlnoteaddin.cpp
@@ -225,7 +225,7 @@ void ExportToHtmlNoteAddin::write_html_for_note (sharp::StreamWriter & writer,
                                                  bool export_linked_all)
 {
   Glib::ustring s_writer;
-  s_writer = gnote::NoteArchiver::write_string(note->data());
+  s_writer = note->manager().note_archiver().write_string(note->data());
   xmlDocPtr doc = xmlParseMemory(s_writer.c_str(), s_writer.bytes());
 
   sharp::XsltArgumentList args;


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