[gtk+/xi2: 1001/1239] GdkDeviceManagerXI2: Do not implement unused vmethod.
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/xi2: 1001/1239] GdkDeviceManagerXI2: Do not implement unused vmethod.
- Date: Tue, 29 Sep 2009 10:54:48 +0000 (UTC)
commit dd203a5875eb1e722dbd72d73ff001a1e048e4ea
Author: Carlos Garnacho <carlos gnome org>
Date: Fri Sep 4 01:06:46 2009 +0200
GdkDeviceManagerXI2: Do not implement unused vmethod.
gdk_device_manager_set_window_events() was replaced by
gdk_event_translator_select_window_events()
gdk/x11/gdkdevicemanager-xi2.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c
index 5785bfb..4cb0bac 100644
--- a/gdk/x11/gdkdevicemanager-xi2.c
+++ b/gdk/x11/gdkdevicemanager-xi2.c
@@ -32,9 +32,6 @@ static void gdk_device_manager_xi2_finalize (GObject *object);
static GList * gdk_device_manager_xi2_get_devices (GdkDeviceManager *device_manager,
GdkDeviceType type);
-static void gdk_device_manager_xi2_set_window_events (GdkDeviceManager *device_manager,
- GdkWindow *window,
- GdkEventMask event_mask);
static void gdk_device_manager_xi2_event_translator_init (GdkEventTranslatorIface *iface);
@@ -63,7 +60,6 @@ gdk_device_manager_xi2_class_init (GdkDeviceManagerXI2Class *klass)
object_class->finalize = gdk_device_manager_xi2_finalize;
device_manager_class->get_devices = gdk_device_manager_xi2_get_devices;
- device_manager_class->set_window_events = gdk_device_manager_xi2_set_window_events;
}
static void
@@ -365,21 +361,6 @@ gdk_device_manager_xi2_get_devices (GdkDeviceManager *device_manager,
}
static void
-gdk_device_manager_xi2_set_window_events (GdkDeviceManager *device_manager,
- GdkWindow *window,
- GdkEventMask evmask)
-{
- XIEventMask event_mask;
-
- event_mask.deviceid = XIAllMasterDevices;
- event_mask.mask = gdk_device_xi2_translate_event_mask (evmask, &event_mask.mask_len);
-
- _gdk_device_manager_xi2_select_events (device_manager,
- GDK_WINDOW_XWINDOW (window),
- &event_mask);
-}
-
-static void
gdk_device_manager_xi2_event_translator_init (GdkEventTranslatorIface *iface)
{
iface->translate_event = gdk_device_manager_xi2_translate_event;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]