[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: help with assertion `text != NULL' failed
From:       "David Necas (Yeti)" <yeti () physics ! muni ! cz>
Date:       2005-04-28 13:17:26
Message-ID: 20050428131726.GF10502 () potato
[Download RAW message or body]

On Thu, Apr 28, 2005 at 06:19:10PM +0530, poonam chokshi wrote:
> I'm trying to keep a check on the  text entry boxes that are empty. 
> Unfortunately,when i perform the routine for the empty text entry, i
> get the following error:
> 
> Gtk-CRITICAL **: file gtkentry.c: line 3361 (gtk_entry_set_text):
> assertion `text != NULL' failed
> 
> It's not a show stopper, but I'd rather avoid it.

CRITICAL messages are just a small step from crash.  That is,
if someone didn't put the assertion there (or assertions were
disabled compile-time), it would immediately crash.

> Isn't there a way to create  text entry with nothing in it?  I mean,
> besides the quick hack of stashing " " or the NULL in there, coz i
> checked for the both and i am still getting that error.......

What can be more empty than an empty string ""?

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic