[gtk+] API: gdk: Remove gdk_device_set_source()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] API: gdk: Remove gdk_device_set_source()
- Date: Mon, 27 Dec 2010 19:54:21 +0000 (UTC)
commit 42fbccd3d2bacd45c84792a30b38480599920b07
Author: Benjamin Otte <otte redhat com>
Date: Mon Dec 27 20:08:50 2010 +0100
API: gdk: Remove gdk_device_set_source()
The source of a device is not changeable.
docs/reference/gdk/gdk3-sections.txt | 1 -
gdk/gdk.symbols | 1 -
gdk/gdkdevice.c | 17 -----------------
gdk/gdkdevice.h | 2 --
4 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 121e6fc..5902b08 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -680,7 +680,6 @@ GdkGrabOwnership
<SUBSECTION>
gdk_device_get_name
-gdk_device_set_source
gdk_device_get_source
gdk_device_set_mode
gdk_device_get_mode
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index d23f753..e9b45f9 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -75,7 +75,6 @@ gdk_device_manager_list_devices
gdk_device_set_axis_use
gdk_device_set_key
gdk_device_set_mode
-gdk_device_set_source
gdk_device_type_get_type G_GNUC_CONST
gdk_device_ungrab
gdk_device_warp
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 8d23314..3e78fc0 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -610,23 +610,6 @@ gdk_device_get_source (GdkDevice *device)
}
/**
- * gdk_device_set_source:
- * @device: a #GdkDevice.
- * @source: the source type.
- *
- * Sets the source type for an input device.
- **/
-void
-gdk_device_set_source (GdkDevice *device,
- GdkInputSource source)
-{
- g_return_if_fail (GDK_IS_DEVICE (device));
-
- device->source = source;
- g_object_notify (G_OBJECT (device), "input-source");
-}
-
-/**
* gdk_device_get_mode:
* @device: a #GdkDevice
*
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 3cc15e3..1e4ae22 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -161,8 +161,6 @@ gboolean gdk_device_get_has_cursor (GdkDevice *device);
/* Functions to configure a device */
GdkInputSource gdk_device_get_source (GdkDevice *device);
-void gdk_device_set_source (GdkDevice *device,
- GdkInputSource source);
GdkInputMode gdk_device_get_mode (GdkDevice *device);
gboolean gdk_device_set_mode (GdkDevice *device,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]