[gedit/wip/use-gsv-search: 10/19] Deprecate the GeditDocument::search-highlight-updated signal



commit 2334a80392dd63469a4a0033dfe99b90a877abdc
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Jul 9 13:04:48 2013 +0200

    Deprecate the GeditDocument::search-highlight-updated signal

 gedit/gedit-document.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index 56d9de2..b014e13 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -711,10 +711,19 @@ gedit_document_class_init (GeditDocumentClass *klass)
                              1,
                              G_TYPE_ERROR);
 
+       /**
+        * GeditDocument::search-highlight-updated:
+        * @document:
+        * @start:
+        * @end:
+        * @user_data:
+        *
+        * Deprecated: 3.10: Use the #GtkSourceBuffer::highlight-updated signal instead.
+        */
        document_signals[SEARCH_HIGHLIGHT_UPDATED] =
                g_signal_new ("search-highlight-updated",
                              G_OBJECT_CLASS_TYPE (object_class),
-                             G_SIGNAL_RUN_LAST,
+                             G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED,
                              G_STRUCT_OFFSET (GeditDocumentClass, search_highlight_updated),
                              NULL, NULL,
                              gedit_marshal_VOID__BOXED_BOXED,


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