forked from AuroraMiddleware/gtk
API: gdk: Remove gdk_device_set_source()
The source of a device is not changeable.
This commit is contained in:
parent
e4cc259111
commit
42fbccd3d2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user