Index: configure.in
===================================================================
--- configure.in	(revision 1224)
+++ configure.in	(working copy)
@@ -82,7 +82,7 @@
 ATK_PACKAGES="atk"
 GTK_PACKAGES="gtk+-2.0"
 LIBGNOMECANVAS_PACKAGES="libgnomecanvas-2.0"
-ATK_REQUIRED_VERSION=1.7.0
+ATK_REQUIRED_VERSION=1.13.0
 GTK_REQUIRED_VERSION=2.9.4
 LIBGNOMECANVAS_REQUIRED_VERSION=2.0.0
 
Index: gail/gailutil.c
===================================================================
--- gail/gailutil.c	(revision 1224)
+++ gail/gailutil.c	(working copy)
@@ -39,6 +39,12 @@
 static G_CONST_RETURN gchar *gail_util_get_toolkit_name		(void);
 static G_CONST_RETURN gchar *gail_util_get_toolkit_version      (void);
 
+/* gailmisc/AtkMisc */
+static void		gail_misc_class_init			(GailMiscClass		*klass);
+
+static void gail_misc_threads_enter (AtkMisc *misc);
+static void gail_misc_threads_leave (AtkMisc *misc);
+
 /* Misc */
 
 static void		_listener_info_destroy			(gpointer		data);
@@ -602,3 +608,51 @@
       return FALSE;
     }
 }
+
+GType
+gail_misc_get_type (void)
+{
+  static GType type = 0;
+
+  if (!type)
+  {
+    static const GTypeInfo tinfo =
+    {
+      sizeof (GailMiscClass),
+      (GBaseInitFunc) NULL, /* base init */
+      (GBaseFinalizeFunc) NULL, /* base finalize */
+      (GClassInitFunc) gail_misc_class_init, /* class init */
+      (GClassFinalizeFunc) NULL, /* class finalize */
+      NULL, /* class data */
+      sizeof (GailMisc), /* instance size */
+      0, /* nb preallocs */
+      (GInstanceInitFunc) NULL, /* instance init */
+      NULL /* value table */
+    };
+
+    type = g_type_register_static (ATK_TYPE_MISC,
+                                   "GailMisc", &tinfo, 0);
+  }
+  return type;
+}
+
+static void	 
+gail_misc_class_init (GailMiscClass *klass)
+{
+  AtkMiscClass *miscclass = ATK_MISC_CLASS (klass);
+  miscclass->threads_enter =
+    gail_misc_threads_enter;
+  miscclass->threads_leave =
+    gail_misc_threads_leave;
+  atk_misc_instance = g_object_new (GAIL_TYPE_MISC, NULL);
+}
+
+static void gail_misc_threads_enter (AtkMisc *misc)
+{
+  GDK_THREADS_ENTER ();
+}
+
+static void gail_misc_threads_leave (AtkMisc *misc)
+{
+  GDK_THREADS_LEAVE ();
+}
Index: gail/gailutil.h
===================================================================
--- gail/gailutil.h	(revision 1224)
+++ gail/gailutil.h	(working copy)
@@ -22,7 +22,6 @@
 
 #include <atk/atk.h>
 
-
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
@@ -50,6 +49,29 @@
   AtkUtilClass parent_class;
 };
 
+#define GAIL_TYPE_MISC                           (gail_misc_get_type ())
+#define GAIL_MISC(obj)                           (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MISC, GailMisc))
+#define GAIL_MISC_CLASS(klass)                   (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_TYPE_MISC, GailMiscClass))
+#define GAIL_IS_MISC(obj)                        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIL_TYPE_MISC))
+#define GAIL_IS_MISC_CLASS(klass)                (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIL_TYPE_MISC))
+#define GAIL_MISC_GET_CLASS(obj)                 (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIL_TYPE_MISC, GailMiscClass))
+
+typedef struct _GailMisc                  GailMisc;
+typedef struct _GailMiscClass             GailMiscClass;
+  
+struct _GailMisc
+{
+  AtkMisc parent;
+};
+
+GType gail_misc_get_type (void);
+
+struct _GailMiscClass
+{
+  AtkMiscClass parent_class;
+};
+
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */
Index: libgail-util/gailmisc.c
===================================================================
--- libgail-util/gailmisc.c	(revision 1224)
+++ libgail-util/gailmisc.c	(working copy)
@@ -21,6 +21,10 @@
 #include <gtk/gtk.h>
 #include "gailmisc.h"
 
+/* IMPORTANT!!! This source file does NOT contain the implementation
+ * code for AtkUtil - for that code, please see gail/gail.c.
+ */
+
 /**
  * gail_misc_get_extents_from_pango_rectangle:
  * @widget: The widget that contains the PangoLayout, that contains
