[gtk+/wip/ricotz/deprecated: 3/5] textiter: Remove deprecated gtk_text_iter_begins_tag



commit 540cfd8580dd668191854b6995f6e910b92b9f4d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Oct 24 09:07:32 2016 +0200

    textiter: Remove deprecated gtk_text_iter_begins_tag

 docs/reference/gtk/gtk4-sections.txt |    1 -
 gtk/gtktextiter.c                    |   25 -------------------------
 gtk/gtktextiter.h                    |    4 ----
 3 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 7dabc76..a159bdd 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -3063,7 +3063,6 @@ gtk_text_iter_get_marks
 gtk_text_iter_get_toggled_tags
 gtk_text_iter_get_child_anchor
 gtk_text_iter_starts_tag
-gtk_text_iter_begins_tag
 gtk_text_iter_ends_tag
 gtk_text_iter_toggles_tag
 gtk_text_iter_has_tag
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 3e2e5f5..3e13d80 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -1203,31 +1203,6 @@ gtk_text_iter_starts_tag (const GtkTextIter *iter,
 }
 
 /**
- * gtk_text_iter_begins_tag:
- * @iter: an iterator
- * @tag: (nullable): a #GtkTextTag, or %NULL
- *
- * Returns %TRUE if @tag is toggled on at exactly this point. If @tag
- * is %NULL, returns %TRUE if any tag is toggled on at this point.
- *
- * Note that if gtk_text_iter_begins_tag() returns %TRUE, it means that @iter is
- * at the beginning of the tagged range, and that the
- * character at @iter is inside the tagged range. In other
- * words, unlike gtk_text_iter_ends_tag(), if gtk_text_iter_begins_tag() returns
- * %TRUE, gtk_text_iter_has_tag() will also return %TRUE for the same
- * parameters.
- *
- * Returns: whether @iter is the start of a range tagged with @tag
- * Deprecated: 3.20: Use gtk_text_iter_starts_tag() instead.
- **/
-gboolean
-gtk_text_iter_begins_tag (const GtkTextIter *iter,
-                          GtkTextTag        *tag)
-{
-  return gtk_text_iter_starts_tag (iter, tag);
-}
-
-/**
  * gtk_text_iter_ends_tag:
  * @iter: an iterator
  * @tag: (allow-none): a #GtkTextTag, or %NULL
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h
index e1f7e07..e56bd84 100644
--- a/gtk/gtktextiter.h
+++ b/gtk/gtktextiter.h
@@ -174,10 +174,6 @@ GDK_AVAILABLE_IN_3_20
 gboolean gtk_text_iter_starts_tag        (const GtkTextIter  *iter,
                                           GtkTextTag         *tag);
 
-GDK_DEPRECATED_IN_3_20_FOR(gtk_text_iter_starts_tag)
-gboolean gtk_text_iter_begins_tag        (const GtkTextIter  *iter,
-                                          GtkTextTag         *tag);
-
 GDK_AVAILABLE_IN_ALL
 gboolean gtk_text_iter_ends_tag          (const GtkTextIter  *iter,
                                           GtkTextTag         *tag);


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