]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkfont.c
add more explanatory text to the error message about missing charsets, and
[~andy/gtk] / gdk / gdkfont.c
index 59fed50613342b8e7bc793a48d03d9f525197f6a..9c017840d4c663c94ef3340dbf9d77d6e51e6a93 100644 (file)
 #include "gdkfont.h"
 #include "gdkinternals.h"
 
+GType
+gdk_font_get_type (void)
+{
+  static GType our_type = 0;
+  
+  if (our_type == 0)
+    our_type = g_boxed_type_register_static ("GdkFont",
+                                            (GBoxedCopyFunc)gdk_font_ref,
+                                            (GBoxedFreeFunc)gdk_font_unref);
+  return our_type;
+}
+
 GdkFont*
 gdk_font_ref (GdkFont *font)
 {