From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24365 invoked by alias); 8 Aug 2003 22:06:22 -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 24353 invoked from network); 8 Aug 2003 22:06:21 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 8 Aug 2003 22:06:21 -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 h78M6J0J017708 for ; Sat, 9 Aug 2003 08:06:19 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h78M6ICh005915 for ; Sat, 9 Aug 2003 08:06:18 +1000 (EST) Received: from localhost (ppp24.dyn228.pacific.net.au [203.143.228.24]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h78M6HPs019559 for ; Sat, 9 Aug 2003 08:06:17 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19lFN8-0000as-00; Sat, 09 Aug 2003 08:06:06 +1000 To: guile-gtk@sources.redhat.com Subject: gdk-fontset-load (was: Completed GdkFont support) References: From: Kevin Ryde Mail-Copies-To: never Date: Fri, 08 Aug 2003 22:06:00 -0000 Message-ID: <87llu3dctt.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-q3/txt/msg00031.txt.bz2 --=-=-= Content-length: 633 Marko Rauhamaa writes: > > - gdk-1.2.defs, gdk-support.c, guile-gtk.h: I allow the fontset name to > be either a string or a list of strings, which are joined with > commas. The strings themselves may contain commas. I don't see any great value in that, I think it'd be cleaner to just take a string, since that's how Gtk treats a fontset. If someone wants to use a list instead then I think they can be left to apply string-join or whatever themselves. * gdk-1.2.defs (gdk_fontset_load): Accept only a string, per C func. * gdk-support.c, guile-gtk.h (gdk_fontset_load_interp): Remove. --=-=-= Content-Disposition: attachment; filename=gdk-1.2.defs.fontset-load.diff Content-length: 442 --- gdk-1.2.defs.~1.42.~ 2003-08-05 10:30:19.000000000 +1000 +++ gdk-1.2.defs 2003-08-08 16:19:26.000000000 +1000 @@ -1333,11 +1333,9 @@ (GdkFont (copy #f)) ((string name))) -(define-func gdk_fontset_load_interp +(define-func gdk_fontset_load (GdkFont (copy #f)) - ; fontset is either a comma-separated string or a list of - ; comma-separated strings - ((SCM fontset))) + ((string fontset))) (define-func gdk_font_id int --=-=-=--