gtk: Add GtkGstBaseWidget
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 16 Jul 2015 16:51:34 +0000 (12:51 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 16 Jul 2015 21:12:30 +0000 (17:12 -0400)
commit688e5dd7c4af42dbd498263f7fb47c09a580d478
treeb087c442c8e9bc1b5fbde88e03d18a331ff5bca1
parent5243f5678db4f526b5b4dd4c89578c4cdaa411d3
gtk: Add GtkGstBaseWidget

This is a "pseudo" base class. Basically it's a shared instance
and class structure and a shared set of function between the
two widget. It cannot have it's own type like normal base class
since the one instance will implement GtkGLArea while the other
implements GtkDrawingAreay. To workaround this, the parent instance
and class is a union of both.

https://bugzilla.gnome.org/show_bug.cgi?id=752441
ext/gtk/Makefile.am
ext/gtk/gtkgstbasewidget.c [new file with mode: 0644]
ext/gtk/gtkgstbasewidget.h [new file with mode: 0644]