Another question about GtkCList




The GTK+ Tutorial says

that

gtk_clist_append(GtkCList *,gchar **)
gtk_clist_prepend(GtkCList *,gchar **)
gtk_clist_insert(...)

can take their gchar** as NULL to mean that I want to
set row data later.

Well, I tried to gtk_clist_append() with NULL as argument
and it causes an error message on the console about

assertion data!=NULL failed 

I'm using Gtk 1.2.1

By now I already inserted bogus text to avoid the error but:

* Philosophically, where's the error ? In the tutorial or
  in the library ?

.........................................................................
Felipe Paulo Guazzi Bergo  -  guazzibe@dcc.unicamp.br
Undergraduate in Computer Engineering - Unicamp - Campinas - SP - Brazil
  
* Aibohphobia (n.): 1. Fear of palindromes. *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]