From 9f94736c92ba5072367468b3a3fa651e0f275a54 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 1 Jan 2018 18:28:31 -0500 Subject: [PATCH] Remove selection-handling leftovers The selection_get and selection_received vfuncs are no longer used, remove them. --- gtk/gtkwidget.c | 1 - gtk/gtkwidget.h | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 6f23c23ca3..db7c0980ef 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1038,7 +1038,6 @@ gtk_widget_class_init (GtkWidgetClass *klass) klass->focus_out_event = gtk_widget_real_focus_out_event; klass->map_event = NULL; klass->unmap_event = NULL; - klass->selection_received = NULL; klass->proximity_in_event = NULL; klass->proximity_out_event = NULL; klass->drag_begin = NULL; diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 07dc5f6763..a8940132be 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -226,8 +226,6 @@ struct _GtkWidget * @proximity_out_event: * @grab_broken_event: Signal emitted when a pointer or keyboard grab * on a window belonging to widget gets broken. - * @selection_get: - * @selection_received: * @drag_begin: Signal emitted on the drag source when a drag is * started. * @drag_end: Signal emitted on the drag source when a drag is @@ -369,14 +367,6 @@ struct _GtkWidgetClass gboolean (* grab_broken_event) (GtkWidget *widget, GdkEventGrabBroken *event); - /* selection */ - void (* selection_get) (GtkWidget *widget, - GtkSelectionData *selection_data, - guint time_); - void (* selection_received) (GtkWidget *widget, - GtkSelectionData *selection_data, - guint time_); - /* Source side drag signals */ void (* drag_begin) (GtkWidget *widget, GdkDragContext *context);