From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20233 invoked by alias); 22 Jan 2003 23:22:10 -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 20225 invoked from network); 22 Jan 2003 23:22:09 -0000 Received: from unknown (HELO sunny.pacific.net.au) (203.25.148.40) by 172.16.49.205 with SMTP; 22 Jan 2003 23:22:09 -0000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h0MNM7KR000606 for ; Thu, 23 Jan 2003 10:22:07 +1100 (EST) Received: from localhost (ppp95.dyn228.pacific.net.au [203.143.228.95]) by wisma.pacific.net.au with ESMTP id KAA15042 for ; Thu, 23 Jan 2003 10:22:05 +1100 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18bUBk-0006jB-00; Thu, 23 Jan 2003 09:21:44 +1000 To: guile-gtk@sources.redhat.com Subject: gtk_color_selection_get_color From: Kevin Ryde Mail-Copies-To: never Date: Wed, 22 Jan 2003 23:22:00 -0000 Message-ID: <878yxcpy7s.fsf@zip.com.au> User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.1 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q1/txt/msg00005.txt.bz2 I noticed gtk-color-selection-get-color returns a GdkColor, rather than the gdoubles the C function gtk_color_selection_get_color returns. gtk 2 has a gtk_color_selection_get_current_color which gives a GdkColor. If a GdkColor return is wanted under 1.2 then I wonder if it might be worth using that name, so as to match the future. That'd allow plain get-color to return doubles, for consistency with the C code. (Actually, gtk 2 marks that function as deprecated, but while it exists I'd think it may as well be made available.)