Commit 42fbccd3 authored by Benjamin Otte's avatar Benjamin Otte

API: gdk: Remove gdk_device_set_source()

The source of a device is not changeable.
parent e4cc2591
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment