summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkgeometry-x11.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2007-06-17 11:24:25 +0000
committerXan Lopez <xan@src.gnome.org>2007-06-17 11:24:25 +0000
commit9a0af6de472286105fd5bb39e0514e1a2b70acff (patch)
treeff55fd622476a01d6efca451087deeec2713d129 /gdk/x11/gdkgeometry-x11.c
parentd5fef5c60fd339aad083e060dce539971dbf5a7a (diff)
downloadgtk+-9a0af6de472286105fd5bb39e0514e1a2b70acff.tar.gz
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
Diffstat (limited to 'gdk/x11/gdkgeometry-x11.c')
-rw-r--r--gdk/x11/gdkgeometry-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c
index acbc46345c..55b2040eed 100644
--- a/gdk/x11/gdkgeometry-x11.c
+++ b/gdk/x11/gdkgeometry-x11.c
@@ -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;