]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkwindowimpl.c
Drop dead gxid_proto.h header
[~andy/gtk] / gdk / gdkwindowimpl.c
index b67d713f5fa9945de419b637f7c6351da25aae61..2c4df30d51d19c4fa661b43a5656c142e0a70269 100644 (file)
@@ -1,4 +1,4 @@
-/* GDK - The GTK+ Drawing Kit
+/* GDK - The GIMP Drawing Kit
  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
  *
  * This library is free software; you can redistribute it and/or
 #include "gdkwindowimpl.h"
 #include "gdkinternals.h"
 
-GType
-gdk_window_impl_get_type (void)
-{
-  static GType gtype = 0;
 
-  if (G_UNLIKELY (!gtype))
-    {
-      gtype = g_type_register_static_simple (G_TYPE_INTERFACE,
-                                             "GdkWindowImpl",
-                                             sizeof (GdkWindowImplIface),
-                                             NULL, 0, NULL, 0);
-      g_type_interface_add_prerequisite (gtype, G_TYPE_OBJECT);
-    }
+typedef GdkWindowImplIface GdkWindowImplInterface;
+G_DEFINE_INTERFACE (GdkWindowImpl, gdk_window_impl, G_TYPE_OBJECT);
+
 
-  return gtype;
+static void
+gdk_window_impl_default_init (GdkWindowImplInterface *iface)
+{
 }