]> Pileus Git - ~andy/gtk/commit
Abstract some GdkWindow API into an interface that the backends must
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 27 Jun 2008 14:27:44 +0000 (14:27 +0000)
committerEmmanuele Bassi <ebassi@src.gnome.org>
Fri, 27 Jun 2008 14:27:44 +0000 (14:27 +0000)
commite27632cd6d7c8b510b3ae4c4ca044fd09d634e37
tree06e4d338fdc03488ce74d679d48801ce3ed121ce
parentcf1df130dc5c9ce91162fbfe3c3655a9e559a9d0
Abstract some GdkWindow API into an interface that the backends must

2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>

Abstract some GdkWindow API into an interface that the backends
must implement. (based on a patch by Alex Larsson)

* gdk/Makefile.am: Add gdkwindowimpl.[ch]

* gdk/gdk.symbols: Move symbols around.

* gdk/gdkinternals.h:
* gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
from the backends to a GInterface that the backends should implement
instead.

* gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
wrapper call around the GdkWindowImpl interface vtable.

* gdk/x11/gdkevents-x11.c:
* gdk/x11/gdkgeometry-x11.c:
* gdk/x11/gdkprivate-x11.h:
* gdk/x11/gdkwindow-x11.c:
* gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
the GdkWindowImpl interface.

svn path=/trunk/; revision=20695
12 files changed:
ChangeLog
gdk/Makefile.am
gdk/gdk.symbols
gdk/gdkinternals.h
gdk/gdkwindow.c
gdk/gdkwindowimpl.c [new file with mode: 0644]
gdk/gdkwindowimpl.h [new file with mode: 0644]
gdk/x11/gdkevents-x11.c
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkwindow-x11.h