From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23230 invoked by alias); 28 Aug 2003 00:54:53 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 23222 invoked from network); 28 Aug 2003 00:54:52 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 28 Aug 2003 00:54:52 -0000 Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h7S0so0J001541 for ; Thu, 28 Aug 2003 10:54:51 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h7S0sokv019258 for ; Thu, 28 Aug 2003 10:54:50 +1000 (EST) Received: from localhost (ppp99.dyn228.pacific.net.au [203.143.228.99]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h7S0smvj026288 for ; Thu, 28 Aug 2003 10:54:49 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19sB3d-0001Bu-00; Thu, 28 Aug 2003 10:54:37 +1000 To: guile-gtk@sources.redhat.com Subject: GdkRectangle pointer params From: Kevin Ryde Mail-Copies-To: never Date: Thu, 28 Aug 2003 00:54:00 -0000 Message-ID: <87lltelhys.fsf@zip.com.au> User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00060.txt.bz2 I think the rect type could pass a GdkRectangle as a pointer, since that's what the gdk functions normally expect. Doesn't make a great deal of difference, but gets rid of some interps. * build-guile-gtk-1.2 (rect): For c2args, emit "&foo" since functions normally expect a pointer. * gdk-support.c, guile-gtk.h (gdk_rectangle_intersect_interp, gdk_rectangle_union_interp): Use this. * gdk-1.2.defs, gdk-support.c, guile-gtk.h (gdk_gc_set_clip_rectangle, gdk_region_union_with_rect, gdk_region_rect_in): No need for _interp any more.