public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* gtk-label-new, gtk-frame-set-label null-ok
@ 2003-07-07 22:31 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-07-07 22:31 UTC (permalink / raw)
  To: guile-gtk

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

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.


[-- Attachment #2: gtk-1.2.defs.null-ok.diff --]
[-- Type: text/plain, Size: 457 bytes --]

--- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-07 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-07 22:31 gtk-label-new, gtk-frame-set-label null-ok Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).