API: gdk: Remove gdk_device_set_source()

The source of a device is not changeable.
This commit is contained in:
Benjamin Otte 2010-12-27 20:08:50 +01:00
parent e4cc259111
commit 42fbccd3d2
4 changed files with 0 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -609,23 +609,6 @@ gdk_device_get_source (GdkDevice *device)
return device->source;
}
/**
* 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

View File

@ -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,