Re: help with assertion `text != NULL' failed
- From: "David Necas (Yeti)" <yeti physics muni cz>
- To: poonam chokshi <poonam13 gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: help with assertion `text != NULL' failed
- Date: Thu, 28 Apr 2005 15:17:26 +0200
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]