summaryrefslogtreecommitdiff
path: root/registryd/deviceeventcontroller.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@boston.site>2008-05-13 16:36:37 -0400
committerMark Doffman <mdoff@silver-wind.(none)>2008-05-16 16:11:38 +0100
commit165eaa9c7436da733ac4de9c3b886b06a2d57498 (patch)
treea0c8228aa6b2b804f7aacdae0e447f2ead6c3a31 /registryd/deviceeventcontroller.h
parenta1c719487b56d93b2d0ca5f8eea9a25020b193cd (diff)
downloadat-spi2-core-165eaa9c7436da733ac4de9c3b886b06a2d57498.tar.gz
First pass at an adaptation. This compiles and runs but is otherwise untested
Diffstat (limited to 'registryd/deviceeventcontroller.h')
-rw-r--r--registryd/deviceeventcontroller.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/registryd/deviceeventcontroller.h b/registryd/deviceeventcontroller.h
index bb043525..1fd81dd4 100644
--- a/registryd/deviceeventcontroller.h
+++ b/registryd/deviceeventcontroller.h
@@ -24,9 +24,9 @@
#ifndef SPI_DEVICE_EVENT_CONTROLLER_H_
#define SPI_DEVICE_EVENT_CONTROLLER_H_
-#include <bonobo/bonobo-object.h>
+#include <X11/Xlib.h>
+#include <gdk/gdk.h>
#include <libspi/Accessibility.h>
-#include <libspi/devicelistener.h>
typedef struct _SpiDEController SpiDEController;
@@ -42,7 +42,7 @@ G_BEGIN_DECLS
#define SPI_DEVICE_EVENT_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SPI_DEVICE_EVENT_CONTROLLER_TYPE, SpiDEControllerClass))
struct _SpiDEController {
- BonoboObject parent;
+ GObject parent;
SpiRegistry *registry;
GList *key_listeners;
@@ -52,9 +52,7 @@ struct _SpiDEController {
};
typedef struct {
- BonoboObjectClass parent_class;
-
- POA_Accessibility_DeviceEventController__epv epv;
+ GObjectClass parent_class;
} SpiDEControllerClass;
GType spi_device_event_controller_get_type (void);