[gtk+/events-refactor: 918/1085] GdkDeviceManager: Remove gdk_device_manager_set_window_events().
- From: Carlos Garnacho <carlosg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/events-refactor: 918/1085] GdkDeviceManager: Remove gdk_device_manager_set_window_events().
- Date: Tue, 29 Sep 2009 10:49:12 +0000 (UTC)
commit e1d99c07b92b23f3c506151ac7b658d0d442db6a
Author: Carlos Garnacho <carlos gnome org>
Date: Fri Sep 4 01:50:26 2009 +0200
GdkDeviceManager: Remove gdk_device_manager_set_window_events().
It was replaced by gdk_event_translator_select_window_events().
gdk/gdk.symbols | 1 -
gdk/gdkdevicemanager.c | 12 ------------
gdk/gdkdevicemanager.h | 6 ------
3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 45aaff3..64f506c 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -378,7 +378,6 @@ gdk_cursor_get_image
gdk_device_manager_get_display
gdk_device_manager_get_for_display
gdk_device_manager_get_type G_GNUC_CONST
-gdk_device_manager_set_window_events
#endif
#endif
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index 2b3b54d..8d7c20e 100644
--- a/gdk/gdkdevicemanager.c
+++ b/gdk/gdkdevicemanager.c
@@ -226,17 +226,5 @@ gdk_device_manager_get_devices (GdkDeviceManager *device_manager,
return GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->get_devices (device_manager, type);
}
-void
-gdk_device_manager_set_window_events (GdkDeviceManager *device_manager,
- GdkWindow *window,
- GdkEventMask event_mask)
-{
- g_return_if_fail (GDK_IS_DEVICE_MANAGER (device_manager));
- g_return_if_fail (GDK_IS_WINDOW (window));
-
- if (GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->set_window_events)
- GDK_DEVICE_MANAGER_GET_CLASS (device_manager)->set_window_events (device_manager, window, event_mask);
-}
-
#define __GDK_DEVICE_MANAGER_C__
#include "gdkaliasdef.c"
diff --git a/gdk/gdkdevicemanager.h b/gdk/gdkdevicemanager.h
index 204245c..0f35dd8 100644
--- a/gdk/gdkdevicemanager.h
+++ b/gdk/gdkdevicemanager.h
@@ -66,9 +66,6 @@ struct _GdkDeviceManagerClass
/* VMethods */
GList * (* get_devices) (GdkDeviceManager *device_manager,
GdkDeviceType type);
- void (* set_window_events) (GdkDeviceManager *device_manager,
- GdkWindow *window,
- GdkEventMask event_mask);
};
GType gdk_device_manager_get_type (void) G_GNUC_CONST;
@@ -78,9 +75,6 @@ GdkDeviceManager * gdk_device_manager_get_for_display (GdkDisplay *display);
GdkDisplay * gdk_device_manager_get_display (GdkDeviceManager *device_manager);
GList * gdk_device_manager_get_devices (GdkDeviceManager *device_manager,
GdkDeviceType type);
-void gdk_device_manager_set_window_events (GdkDeviceManager *device_manager,
- GdkWindow *window,
- GdkEventMask event_mask);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]