[gtksourceview/wip/completion-next-cycle: 1/2] Deprecate the GtkSourceCompletionInfo::before-show signal



commit c7a4dda26476f9dd7028419d2d3234ae0eace29a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Apr 3 17:14:37 2013 +0200

    Deprecate the GtkSourceCompletionInfo::before-show signal
    
    It was used as a hack in gtksourcecompletion.c, but it's no longer the
    case.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696506

 gtksourceview/gtksourcecompletioninfo.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletioninfo.c b/gtksourceview/gtksourcecompletioninfo.c
index 9b8996a..f7e8bd8 100644
--- a/gtksourceview/gtksourcecompletioninfo.c
+++ b/gtksourceview/gtksourcecompletioninfo.c
@@ -260,11 +260,13 @@ gtk_source_completion_info_class_init (GtkSourceCompletionInfoClass *klass)
         * This signal is emitted before any "show" management. You can connect
         * to this signal if you want to change some properties or position
         * before the real "show".
+        *
+        * Deprecated: 3.10: This signal should not be used.
         */
        signals[BEFORE_SHOW] =
                g_signal_new ("before-show",
                              G_TYPE_FROM_CLASS (klass),
-                             G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+                             G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION | G_SIGNAL_DEPRECATED,
                              0,
                              NULL,
                              NULL,


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