summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-24 15:54:12 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-24 15:54:12 -0500
commit92f163d40a037ae083b8a55bb2f8129740a42a62 (patch)
tree000ab68ea12754077392d281abc4e75f7a4fb428 /gdk/gdkdevice.h
parent806b6dfa08db0cdaa7d0489e085337b143896ea4 (diff)
downloadgtk+-92f163d40a037ae083b8a55bb2f8129740a42a62.tar.gz
Consistently hide class structs
And, since we've decided to keep the structs private, there is no point in having the standard GObject clas macros anymore either.
Diffstat (limited to 'gdk/gdkdevice.h')
-rw-r--r--gdk/gdkdevice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 4085facee4..ef142eb28a 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -33,8 +33,6 @@ G_BEGIN_DECLS
#define GDK_DEVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_DEVICE, GdkDevice))
#define GDK_IS_DEVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_DEVICE))
-typedef struct _GdkDevice GdkDevice;
-typedef struct _GdkDeviceClass GdkDeviceClass;
typedef struct _GdkTimeCoord GdkTimeCoord;
/**
@@ -156,7 +154,7 @@ struct _GdkTimeCoord
gdouble axes[GDK_MAX_TIMECOORD_AXES];
};
-GType gdk_device_get_type (void) G_GNUC_CONST;
+GType gdk_device_get_type (void) G_GNUC_CONST;
G_CONST_RETURN gchar *gdk_device_get_name (GdkDevice *device);
gboolean gdk_device_get_has_cursor (GdkDevice *device);