gdk: Remove leftover structs from ClientMessage days

This commit is contained in:
Benjamin Otte 2016-10-08 00:20:30 +02:00
parent 10a7963ebf
commit 59c702d88c
2 changed files with 0 additions and 26 deletions

View File

@ -41,7 +41,6 @@ G_BEGIN_DECLS
/* Debugging support */
typedef struct _GdkEventFilter GdkEventFilter;
typedef struct _GdkClientFilter GdkClientFilter;
typedef enum {
GDK_EVENT_FILTER_REMOVED = 1 << 0
@ -54,12 +53,6 @@ struct _GdkEventFilter {
guint ref_count;
};
struct _GdkClientFilter {
GdkAtom type;
GdkFilterFunc function;
gpointer data;
};
typedef enum {
GDK_DEBUG_MISC = 1 << 0,
GDK_DEBUG_EVENTS = 1 << 1,

View File

@ -103,7 +103,6 @@ static gboolean gdk_event_dispatch (GSource *source,
/* Private variable declarations
*/
static GList *client_filters; /* Filters for client messages */
extern gint _gdk_input_ignore_core;
GdkCursor *_gdk_win32_grab_cursor;
@ -2182,24 +2181,6 @@ gdk_event_translate (MSG *msg,
node = _gdk_event_queue_append (display, event);
tmp_list = client_filters;
while (tmp_list)
{
GdkClientFilter *filter = tmp_list->data;
tmp_list = tmp_list->next;
if (filter->type == GDK_POINTER_TO_ATOM (msg->wParam))
{
GDK_NOTE (EVENTS, g_print (" (match)"));
result = (*filter->function) (msg, event, filter->data);
if (result != GDK_FILTER_CONTINUE)
break;
}
}
switch (result)
{
case GDK_FILTER_REMOVE: