doubt on assertion



Hi,

I have a doubt on this situation:

gboolean visible[19]= {TRUE,....};
extern GtkWidget *view;

.....

for (i = 0; i < 19; i++)
  {
          column = gtk_tree_view_get_column (GTK_TREE_VIEW(view),i);
          gtk_tree_view_column_set_visible (GTK_TREE_VIEW_COLUMN(column),
visible[i]);
  }

Program works correctly but I got on shell:

(app1:2816): Gtk-CRITICAL **: file gtktreeviewcolumn.c: line 1558 (gtk_tree_view_column_set_visible):
assertion `GTK_IS_TREE_VIEW_COLUMN (tree_column)' failed

(repeated 19 times - cicle 'for')

Why???

Thanks,
France

__________________________________________________________________
ADSL Senza Canone 640Kbps:
attivala entro il 31 marzo e avrai GRATIS il costo di adesione,
quello di attivazione e il modem per tutto il 2004.
E per i primi 3 mesi navighi a 1,5 euro l'ora! Affrettati!
http://point.tiscali.it/adsl/prodotti/senzacanone/






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