summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/gdkdevice.c20
-rw-r--r--gdk/gdkdeviceprivate.h2
2 files changed, 0 insertions, 22 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index ba2f14510c..92e6a619b7 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -82,7 +82,6 @@ G_DEFINE_ABSTRACT_TYPE (GdkDevice, gdk_device, G_TYPE_OBJECT)
enum {
PROP_0,
PROP_DISPLAY,
- PROP_DEVICE_MANAGER,
PROP_NAME,
PROP_ASSOCIATED_DEVICE,
PROP_TYPE,
@@ -126,19 +125,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
/**
- * GdkDevice:device-manager:
- *
- * The #GdkDeviceManager the #GdkDevice pertains to.
- *
- * Since: 3.0
- */
- device_props[PROP_DEVICE_MANAGER] =
- g_param_spec_object ("device-manager",
- P_("Device manager"),
- P_("Device manager which the device belongs to"),
- GDK_TYPE_DEVICE_MANAGER,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
- /**
* GdkDevice:name:
*
* The device name.
@@ -432,9 +418,6 @@ gdk_device_set_property (GObject *object,
case PROP_DISPLAY:
device->display = g_value_get_object (value);
break;
- case PROP_DEVICE_MANAGER:
- device->manager = g_value_get_object (value);
- break;
case PROP_NAME:
g_free (device->name);
@@ -483,9 +466,6 @@ gdk_device_get_property (GObject *object,
case PROP_DISPLAY:
g_value_set_object (value, device->display);
break;
- case PROP_DEVICE_MANAGER:
- g_value_set_object (value, device->manager);
- break;
case PROP_ASSOCIATED_DEVICE:
g_value_set_object (value, device->associated);
break;
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h
index e6dcd6cc11..1f6392f9dd 100644
--- a/gdk/gdkdeviceprivate.h
+++ b/gdk/gdkdeviceprivate.h
@@ -20,7 +20,6 @@
#include "gdkdevice.h"
#include "gdkdevicetool.h"
-#include "gdkdevicemanager.h"
#include "gdkevents.h"
#include "gdkseat.h"
@@ -50,7 +49,6 @@ struct _GdkDevice
gint num_keys;
GdkAxisFlags axis_flags;
GdkDeviceKey *keys;
- GdkDeviceManager *manager;
GdkDisplay *display;
/* Paired master for master,
* associated master for slaves