[gnote] Replace deprecated begins_tag with starts_tag in NoteTag



commit 8ea124016c8e34e2473dbf8bee9b3ddf16bc7fe6
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri May 7 23:08:13 2021 +0300

    Replace deprecated begins_tag with starts_tag in NoteTag

 src/notetag.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/notetag.cpp b/src/notetag.cpp
index 9a9b0784..ee6e3588 100644
--- a/src/notetag.cpp
+++ b/src/notetag.cpp
@@ -131,7 +131,7 @@ namespace gnote {
   {
     Glib::RefPtr<Gtk::TextTag> this_ref = NoteTagTable::instance()->lookup(property_name());
     start = iter;
-    if (!start.begins_tag (this_ref)) {
+    if(!start.starts_tag(this_ref)) {
       start.backward_to_tag_toggle (this_ref);
     }
     end = iter;


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