[gtk+] Remove no-longer-used signals



commit e3e9bf4bea3307e9d0c6728d82f04994b069005f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Dec 13 22:52:50 2017 -0500

    Remove no-longer-used signals
    
    GtkWidget::selection-get and ::selection-received are no
    longer used, so get rid of them.

 gtk/gtkwidget.c |   37 -------------------------------------
 1 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a6206e3..8982a69 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -520,8 +520,6 @@ enum {
   FOCUS_OUT_EVENT,
   MAP_EVENT,
   UNMAP_EVENT,
-  SELECTION_GET,
-  SELECTION_RECEIVED,
   PROXIMITY_IN_EVENT,
   PROXIMITY_OUT_EVENT,
   WINDOW_STATE_EVENT,
@@ -2399,41 +2397,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                               _gtk_marshal_BOOLEAN__OBJECTv);
 
   /**
-   * GtkWidget::selection-received:
-   * @widget: the object which received the signal.
-   * @data:
-   * @time:
-   */
-  widget_signals[SELECTION_RECEIVED] =
-    g_signal_new (I_("selection-received"),
-                 G_TYPE_FROM_CLASS (klass),
-                 G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED,
-                 G_STRUCT_OFFSET (GtkWidgetClass, selection_received),
-                 NULL, NULL,
-                 _gtk_marshal_VOID__BOXED_UINT,
-                 G_TYPE_NONE, 2,
-                 GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
-                 G_TYPE_UINT);
-
-  /**
-   * GtkWidget::selection-get:
-   * @widget: the object which received the signal.
-   * @data:
-   * @info:
-   * @time:
-   */
-  widget_signals[SELECTION_GET] =
-    g_signal_new (I_("selection-get"),
-                 G_TYPE_FROM_CLASS (klass),
-                 G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED,
-                 G_STRUCT_OFFSET (GtkWidgetClass, selection_get),
-                 NULL, NULL,
-                 _gtk_marshal_VOID__BOXED_UINT,
-                 G_TYPE_NONE, 2,
-                 GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
-                 G_TYPE_UINT);
-
-  /**
    * GtkWidget::proximity-in-event:
    * @widget: the object which received the signal
    * @event: (type Gdk.EventProximity): the #GdkEventProximity which triggered


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