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



commit 5dbaa34b06d398ff4318580bc8ba4b545a83a730
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 6855a89..646ec30 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -709,10 +709,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]