events: Drop target and related target

GTK no longer uses this, so we can drop it.
This commit is contained in:
Matthias Clasen 2020-02-16 02:50:34 -05:00
parent e5223b1cee
commit 92288205d4

View File

@ -50,7 +50,6 @@ struct _GdkEventAny
GdkDevice *device; GdkDevice *device;
GdkDevice *source_device; GdkDevice *source_device;
GdkDisplay *display; GdkDisplay *display;
GObject *target;
}; };
/* /*
@ -272,7 +271,6 @@ struct _GdkEventCrossing
GdkNotifyType detail; GdkNotifyType detail;
gboolean focus; gboolean focus;
guint state; guint state;
GObject *related_target;
}; };
/* /*
@ -293,7 +291,6 @@ struct _GdkEventFocus
gint16 in; gint16 in;
GdkCrossingMode mode; GdkCrossingMode mode;
GdkNotifyType detail; GdkNotifyType detail;
GObject *related_target;
}; };
/* /*
@ -595,13 +592,6 @@ union _GdkEvent
GdkEventPadGroupMode pad_group_mode; 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); gboolean check_event_sanity (GdkEvent *event);
GdkEvent * gdk_event_button_new (GdkEventType type, GdkEvent * gdk_event_button_new (GdkEventType type,