[gtksourceview/wip/search-revalidate-iters] SearchContext: deprecate replace()



commit cf839aca2bdf04fe32e91c643a1153e60db2b658
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 4 17:25:57 2016 +0200

    SearchContext: deprecate replace()

 gtksourceview/gtksourcesearchcontext.c |    1 +
 gtksourceview/gtksourcesearchcontext.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcesearchcontext.c b/gtksourceview/gtksourcesearchcontext.c
index 0a57aaa..6444f55 100644
--- a/gtksourceview/gtksourcesearchcontext.c
+++ b/gtksourceview/gtksourcesearchcontext.c
@@ -3543,6 +3543,7 @@ end:
  *
  * Returns: whether the match has been replaced.
  * Since: 3.10
+ * Deprecated: 3.22: Use gtk_source_search_context_replace2() instead.
  */
 gboolean
 gtk_source_search_context_replace (GtkSourceSearchContext  *search,
diff --git a/gtksourceview/gtksourcesearchcontext.h b/gtksourceview/gtksourcesearchcontext.h
index 0269e2c..eb427d1 100644
--- a/gtksourceview/gtksourcesearchcontext.h
+++ b/gtksourceview/gtksourcesearchcontext.h
@@ -133,7 +133,7 @@ gboolean             gtk_source_search_context_backward_finish              
(GtkSourceSearchContext  *
                                                                                 GtkTextIter             
*match_end,
                                                                                 GError                 
**error);
 
-GTK_SOURCE_AVAILABLE_IN_3_10
+GTK_SOURCE_DEPRECATED_IN_3_22_FOR (gtk_source_search_context_replace2)
 gboolean                gtk_source_search_context_replace                      (GtkSourceSearchContext  
*search,
                                                                                 const GtkTextIter       
*match_start,
                                                                                 const GtkTextIter       
*match_end,


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