gdk: Make GdkWindow abstract

This way backend implementors get an error if they don't set
display_class->window_type to their subclass. And that's exactly what we
want.
This commit is contained in:
Benjamin Otte 2010-12-21 03:54:15 +01:00 committed by Matthias Clasen
parent dcb03b1085
commit 36893a9ef8

View File

@ -271,7 +271,7 @@ new_region_tag (void)
return ++tag;
}
G_DEFINE_TYPE (GdkWindow, gdk_window, G_TYPE_OBJECT)
G_DEFINE_ABSTRACT_TYPE (GdkWindow, gdk_window, G_TYPE_OBJECT)
GType
_gdk_paintable_get_type (void)