GTK2.2: Combobox & GTKlist & .... Warnings!



Hi,
I am using GTK 2.2 for Linux, and I have a problem with GTK-combobox;

The Appl.
  1. to create the combobox:    combo_Ac_f = gtk_combo_new();
  2. then I use GTK list, declaration:    GList * file_list;
  3. I place new entry's in the list: dbase_list = g_list_append(dbase_list,  g_strdup(*copy_split_p));
  4. to set the list:     gtk_combo_set_popdown_strings(GTK_COMBO(combo_Ac_f), file_list);
Problem:

Every time I insert a new entry in the list, add set again the popdown_strings I see the next 2 warnings:

(<unknown>:924): Gtk-CRITICAL **: file gtkcombo.c: line 1116 (gtk_combo_set_popdown_strings): assertion `strings
!= NULL' failed
 
** (<unknown>:924): WARNING **: Invalid UTF8 string passed to pango_layout_set_text()


Althrough everything works perfect I will be happy if I do not see this warnings again in the terminal. Any help will be appriciated. :-)


Looking forward to any reply,
Regards Hans
maarten mercuri el ub es
Universitat de Barcelona, Spain




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