[gnote] Replace deprecated begins_tag with starts_tag



commit a598bca0154fd7f81d4cbec54927885dfc62cd71
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun May 9 21:24:47 2021 +0300

    Replace deprecated begins_tag with starts_tag

 src/utils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils.cpp b/src/utils.cpp
index a6927cf8..a6118319 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -645,7 +645,7 @@ namespace gnote {
         return false;
       }
 
-      if (!iter.begins_tag(m_tag)) {
+      if(!iter.starts_tag(m_tag)) {
         m_buffer->move_mark(m_mark, iter);
         return move_next();
       }


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