[mutter] core: Remove the eventqueue



commit 381a9c26503a8082935882e42f626e030c558eb6
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Wed Mar 6 08:54:32 2013 +0100

    core: Remove the eventqueue
    
    It is unused.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695269

 src/Makefile.am            |    2 -
 src/core/display-private.h |    2 -
 src/core/display.c         |    2 -
 src/core/eventqueue.c      |  184 --------------------------------------------
 src/core/eventqueue.h      |   40 ----------
 5 files changed, 0 insertions(+), 230 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 86b36ac..e2cec91 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -96,8 +96,6 @@ libmutter_la_SOURCES =                                \
        core/edge-resistance.h                  \
        core/errors.c                           \
        meta/errors.h                           \
-       core/eventqueue.c                       \
-       core/eventqueue.h                       \
        core/frame.c                            \
        core/frame.h                            \
        ui/gradient.c                           \
diff --git a/src/core/display-private.h b/src/core/display-private.h
index c30d312..3d8a848 100644
--- a/src/core/display-private.h
+++ b/src/core/display-private.h
@@ -33,7 +33,6 @@
 
 #include <glib.h>
 #include <X11/Xlib.h>
-#include "eventqueue.h"
 #include <meta/common.h>
 #include <meta/boxes.h>
 #include <meta/display.h>
@@ -142,7 +141,6 @@ struct _MetaDisplay
   
   /*< private-ish >*/
   guint error_trap_synced_at_last_pop : 1;
-  MetaEventQueue *events;
   GSList *screens;
   MetaScreen *active_screen;
   GHashTable *xids;
diff --git a/src/core/display.c b/src/core/display.c
index 5a30885..2c53355 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -574,8 +574,6 @@ meta_display_open (void)
                                         sn_error_trap_push,
                                         sn_error_trap_pop);
 #endif
-  
-  the_display->events = NULL;
 
   /* Get events */
   meta_ui_add_event_func (the_display->xdisplay,


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