[gtk/readonly-events-1: 14/18] events: Drop target and related target



commit df51b77a02d55569f5e0830dddd622330f26ce07
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 16 02:50:34 2020 -0500

    events: Drop target and related target
    
    GTK no longer uses this, so we can drop it.

 gdk/gdkeventsprivate.h | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h
index fde644ab42..cb2cfea839 100644
--- a/gdk/gdkeventsprivate.h
+++ b/gdk/gdkeventsprivate.h
@@ -50,7 +50,6 @@ struct _GdkEventAny
   GdkDevice *device;
   GdkDevice *source_device;
   GdkDisplay *display;
-  GObject *target;
 };
 
 /*
@@ -272,7 +271,6 @@ struct _GdkEventCrossing
   GdkNotifyType detail;
   gboolean focus;
   guint state;
-  GObject *related_target;
 };
 
 /*
@@ -293,7 +291,6 @@ struct _GdkEventFocus
   gint16 in;
   GdkCrossingMode mode;
   GdkNotifyType detail;
-  GObject *related_target;
 };
 
 /*
@@ -595,13 +592,6 @@ union _GdkEvent
   GdkEventPadGroupMode      pad_group_mode;
 };
 
-void           gdk_event_set_target              (GdkEvent *event,
-                                                  GObject  *user_data);
-GObject *      gdk_event_get_target              (const GdkEvent *event);
-void           gdk_event_set_related_target       (GdkEvent *event,
-                                                  GObject  *user_data);
-GObject *      gdk_event_get_related_target      (const GdkEvent *event);
-
 gboolean       check_event_sanity (GdkEvent *event);
 
 GdkEvent * gdk_event_button_new         (GdkEventType     type,


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