replace GDK_WINDOW calls by cast to GdkWindow. Patch by Tilman Sauerbeck

2007-06-17  Xan Lopez  <xan@gnome.org>

	* gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
	GdkWindow. Patch by Tilman Sauerbeck from #2063820.

svn path=/trunk/; revision=18170
This commit is contained in:
Xan Lopez 2007-06-17 11:24:25 +00:00 committed by Xan Lopez
parent d5fef5c60f
commit 9a0af6de47
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-06-17 Xan Lopez <xan@gnome.org>
* gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
GdkWindow. Patch by Tilman Sauerbeck from #2063820.
2007-06-17 Daniel Elstner <danielk@openismus.com>
* modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):

View File

@ -246,7 +246,7 @@ gdk_window_copy_area_scroll (GdkWindow *window,
for (l = obj->children; l; l = l->next)
{
GdkWindow *child = GDK_WINDOW (l->data);
GdkWindow *child = (GdkWindow*) l->data;
GdkWindowObject *child_obj = GDK_WINDOW_OBJECT (child);
gdk_window_move (child, child_obj->x + dx, child_obj->y + dy);
@ -371,7 +371,7 @@ gdk_window_guffaw_scroll (GdkWindow *window,
for (l = obj->children; l; l = l->next)
{
GdkWindow *child = GDK_WINDOW (l->data);
GdkWindow *child = (GdkWindow*) l->data;
GdkWindowObject *child_obj = GDK_WINDOW_OBJECT (child);
child_obj->x -= d_xoffset;