diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt index 121e6fc64e..5902b08536 100644 --- a/docs/reference/gdk/gdk3-sections.txt +++ b/docs/reference/gdk/gdk3-sections.txt @@ -680,7 +680,6 @@ GdkGrabOwnership 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 d23f75390f..e9b45f9307 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 8d23314f38..3e78fc0035 100644 --- a/gdk/gdkdevice.c +++ b/gdk/gdkdevice.c @@ -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 diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h index 3cc15e39f5..1e4ae22b3b 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,