[gnote] Repalce deprecated begins_tag with starts_tag in watchers



commit 6d77a5b0d575db9587938229129f6fcab0a89397
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Mon May 10 23:04:09 2021 +0300

    Repalce deprecated begins_tag with starts_tag in watchers

 src/watchers.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/watchers.cpp b/src/watchers.cpp
index e694d25a..80aa0e42 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010-2015,2017,2019-2020 Aurimas Cernius
+ * Copyright (C) 2010-2015,2017,2019-2021 Aurimas Cernius
  * Copyright (C) 2010 Debarshi Ray
  * Copyright (C) 2009 Hubert Figuiere
  *
@@ -1074,7 +1074,7 @@ namespace gnote {
     }
 
     Glib::RefPtr<Gtk::TextTag> broken_link_tag = get_note()->get_tag_table()->get_broken_link_tag();
-    if(start.begins_tag(broken_link_tag)) {
+    if(start.starts_tag(broken_link_tag)) {
       get_note()->get_buffer()->remove_tag(broken_link_tag, start, end);
       get_note()->get_buffer()->apply_tag(get_note()->get_tag_table()->get_link_tag(), start, end);
     }


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