I am using GTK 2.2 for Linux, and I have a problem with GTK-combobox;
The Appl.
- to create the combobox: combo_Ac_f = gtk_combo_new();
- then I use GTK list, declaration: GList * file_list;
- I place new entry's in the list: dbase_list = g_list_append(dbase_list, g_strdup(*copy_split_p));
- to set the list: gtk_combo_set_popdown_strings(GTK_COMBO(combo_Ac_f),
file_list);
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