]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkaccessible.c
Practically everything changed.
[~andy/gtk] / gtk / gtkaccessible.c
index 95b022b4d04eefb9d643884646e3b14beed299c3..29618c299ae12f64fe87a34bd3a5bc2bfbf45013 100644 (file)
@@ -1,4 +1,4 @@
-/* GTK - The GIMP Toolkit
+/* GTK - The GTK+ Toolkit
  * Copyright 2001 Sun Microsystems Inc.
  *
  * This library is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#include <config.h>
+#include "config.h"
 #include <string.h>
 
 #include "gtkwidget.h"
 #include "gtkaccessible.h"
 #include "gtkalias.h"
 
-static void gtk_accessible_class_init (GtkAccessibleClass *klass);
 static void gtk_accessible_real_connect_widget_destroyed (GtkAccessible *accessible);
 
-GType
-gtk_accessible_get_type (void)
-{
-  static GType accessible_type = 0;
-
-  if (!accessible_type)
-    accessible_type = 
-      g_type_register_static_simple (ATK_TYPE_OBJECT, I_("GtkAccessible"),
-                                    sizeof (GtkAccessibleClass),
-                                    (GClassInitFunc)gtk_accessible_class_init,
-                                    sizeof (GtkAccessible),
-                                    NULL, 0);
+G_DEFINE_TYPE (GtkAccessible, gtk_accessible, ATK_TYPE_OBJECT)
 
-  return accessible_type;
+static void
+gtk_accessible_init (GtkAccessible *object)
+{
 }
 
 static void