From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8255 invoked by alias); 14 Jun 2003 23:58:33 -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 8095 invoked from network); 14 Jun 2003 23:58:31 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 14 Jun 2003 23:58:31 -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.3) with ESMTP id h5ENwTYd014124 for ; Sun, 15 Jun 2003 09:58:30 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h5ENwTQg026897 for ; Sun, 15 Jun 2003 09:58:29 +1000 (EST) Received: from localhost (ppp116.dyn228.pacific.net.au [203.143.228.116]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h5ENwPYZ003609 for ; Sun, 15 Jun 2003 09:58:28 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19RKuX-0000tr-00; Sun, 15 Jun 2003 09:58:17 +1000 To: guile-gtk@sources.redhat.com Subject: gdk-gc-copy comments (was: Added a bunch of GDK routines.) References: From: Kevin Ryde Mail-Copies-To: never Date: Sat, 14 Jun 2003 23:58:00 -0000 In-Reply-To: (Marko Rauhamaa's message of "01 May 2003 18:17:14 -0700") Message-ID: <874r2sxld3.fsf@zip.com.au> User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2003-q2/txt/msg00139.txt.bz2 --=-=-= Content-length: 717 Marko Rauhamaa writes: > > - gdk-1.2.defs: Added the functions gdk_gc_copy, I found the comments in the defs file for this a bit confusing. At first I thought it was saying there was something wrong with gdk-gc-copy (which there's not). I suppose it could be made clear that what's being talked about is a new sort of duplicate or create-and-copy operation, but since as stated that's either not possible or not very natural, I'd propose just to remove the remarks. If one really started writing about all the stylistic idiosyncrasies of gtk and X it could quickly turn into a small book :-). * gdk-1.2.defs (gdk_gc_copy): Remove comments about hypothetical create-and-copy. --=-=-= Content-Disposition: attachment; filename=gdk-1.2.defs.gc-copy-comment.diff Content-length: 663 --- gdk-1.2.defs.~1.32.~ 2003-06-15 09:28:33.000000000 +1000 +++ gdk-1.2.defs 2003-06-15 09:48:51.000000000 +1000 @@ -538,17 +538,6 @@ (GdkGC (copy #f)) ((GdkWindow window))) -; You can't convert gdk_gc_copy into one that returns the copy because -; there is no way to determine the window of src_gc, and you can't -; create dst_gc without a window. You could create a function like this: -; -; (define-func gdk_gc_copy_interp -; GdkGC -; ((GdkWindow window) -; (GdkGC gc))) -; -; but it would not be any more natural or flexible to use than the -; interface of the original C function. (define-func gdk_gc_copy none ((GdkGC dst_gc) --=-=-=--