[gtk+/client-side-windows: 227/284] Cast to avoid warning
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/client-side-windows: 227/284] Cast to avoid warning
- Date: Thu, 2 Apr 2009 14:19:00 -0400 (EDT)
commit f06d432ebef39adff6f8b6c140da9771807b2bbc
Author: Richard Hult <richard imendio com>
Date: Mon Feb 2 14:21:13 2009 +0100
Cast to avoid warning
---
gdk/quartz/gdkdrawable-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gdk/quartz/gdkdrawable-quartz.c b/gdk/quartz/gdkdrawable-quartz.c
index 347e0e8..ce1513e 100644
--- a/gdk/quartz/gdkdrawable-quartz.c
+++ b/gdk/quartz/gdkdrawable-quartz.c
@@ -350,7 +350,7 @@ gdk_quartz_draw_drawable (GdkDrawable *drawable,
* by using a scroll. FIXME: We need to check that the params support
* this hack, and make sure it's done properly with any offsets etc?
*/
- if (drawable == window_impl)
+ if (drawable == (GdkDrawable *)window_impl)
{
[window_impl->view scrollRect:NSMakeRect (xsrc, ysrc, width, height)
by:NSMakeSize (xdest - xsrc, ydest - ysrc)];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]