diff options
author | raveit65 <[email protected]> | 2016-07-29 20:28:46 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-08-31 16:14:15 +0200 |
commit | 56bd0058b6c19b7c13574d548f6d6dbdbe81448b (patch) | |
tree | 051ad52e2062cbbb11859bfde8dfebe0117ace2a | |
parent | e12d27ec69532e490a6b293cd44c11796b19b222 (diff) | |
download | pluma-56bd0058b6c19b7c13574d548f6d6dbdbe81448b.tar.bz2 pluma-56bd0058b6c19b7c13574d548f6d6dbdbe81448b.tar.xz |
GTK+-3.20 pluma-document: avoid deprecated gtk_text_iter_begins_tag
-rw-r--r-- | pluma/pluma-document.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-document.c b/pluma/pluma-document.c index 90189f03..61e31906 100644 --- a/pluma/pluma-document.c +++ b/pluma/pluma-document.c @@ -2432,7 +2432,11 @@ search_region (PlumaDocument *doc, gtk_text_iter_forward_lines (end, doc->priv->num_of_lines_search_text); if (gtk_text_iter_has_tag (start, doc->priv->found_tag) && +#if GTK_CHECK_VERSION (3, 20, 0) + !gtk_text_iter_starts_tag (start, doc->priv->found_tag)) +#else !gtk_text_iter_begins_tag (start, doc->priv->found_tag)) +#endif gtk_text_iter_backward_to_tag_toggle (start, doc->priv->found_tag); if (gtk_text_iter_has_tag (end, doc->priv->found_tag) && |