forked from AuroraMiddleware/gtk
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:
parent
dcb03b1085
commit
36893a9ef8
@ -271,7 +271,7 @@ new_region_tag (void)
|
|||||||
return ++tag;
|
return ++tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
G_DEFINE_TYPE (GdkWindow, gdk_window, G_TYPE_OBJECT)
|
G_DEFINE_ABSTRACT_TYPE (GdkWindow, gdk_window, G_TYPE_OBJECT)
|
||||||
|
|
||||||
GType
|
GType
|
||||||
_gdk_paintable_get_type (void)
|
_gdk_paintable_get_type (void)
|
||||||
|
Loading…
Reference in New Issue
Block a user