]> Pileus Git - ~andy/gtk/commit
Change GdkFrameClock from an interface to a class
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 12 Feb 2013 20:02:21 +0000 (15:02 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:52 +0000 (17:19 -0500)
commit5f2d1654a5085fb64af96310e297db4a7c4a39c2
treeb74dd1c718660dbe14b98a5efe566c7a3290ebcf
parentbe22b9fbb9ecd683b9b41d64144460f41d07f248
Change GdkFrameClock from an interface to a class

It's unlikely that anyone will want to have, say, a GtkWidget that
also acts as a GdkFrameClock, so an abstract base class is as
flexible as making GdkFrameClock an interface, but has advantages:

 - If we decide to never make implementing your own frame clock
   possible, we can remove the virtualization.
 - We can put functionality like history into the base class.
 - Avoids the oddity of a interface without a public interface
   VTable, which may cause problems for language bindings.
gdk/Makefile.am
gdk/gdkframeclock.c
gdk/gdkframeclock.h
gdk/gdkframeclockidle.c
gdk/gdkframeclockidle.h
gdk/gdkframeclockprivate.h [new file with mode: 0644]