From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12486 invoked by alias); 7 Jul 2003 22:31:47 -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 12474 invoked from network); 7 Jul 2003 22:31:46 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 7 Jul 2003 22:31:46 -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 h67MVjZY011479 for ; Tue, 8 Jul 2003 08:31:45 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h67MVjQg019660 for ; Tue, 8 Jul 2003 08:31:45 +1000 (EST) Received: from localhost (ppp112.dyn228.pacific.net.au [203.143.228.112]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h67MVinh006295 for ; Tue, 8 Jul 2003 08:31:44 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19ZeWH-0000eu-00; Tue, 08 Jul 2003 08:31:37 +1000 To: guile-gtk@sources.redhat.com Subject: gtk-label-new, gtk-frame-set-label null-ok From: Kevin Ryde Mail-Copies-To: never Date: Mon, 07 Jul 2003 22:31:00 -0000 Message-ID: <874r1ym0ja.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/msg00006.txt.bz2 --=-=-= Content-length: 220 FYI, a couple of places where NULL is ok. In particular for gtk-frame-set-label this apparently allows the label to be removed after creation. * gtk-1.2.defs (gtk_label_new, gtk_frame_set_label): Add null-ok. --=-=-= Content-Disposition: attachment; filename=gtk-1.2.defs.null-ok.diff Content-length: 457 --- gtk-1.2.defs.~1.11.~ 2003-06-15 16:08:51.000000000 +1000 +++ gtk-1.2.defs 2003-07-07 16:45:01.000000000 +1000 @@ -2046,7 +2046,7 @@ (define-func gtk_label_new GtkWidget - ((string str))) + ((string str (null-ok)))) (define-func gtk_label_set_text none @@ -2363,7 +2363,7 @@ (define-func gtk_frame_set_label none ((GtkFrame frame) - (string label))) + (string label (null-ok)))) (define-func gtk_frame_set_label_align none --=-=-=--