[Glade-users] help regarding the combobox append functionality at runtime

poonam chokshi wrote:
int myfunc(char *name)
{        int i=0;   
      GtkWidget *seccmbentry;
      GList *items,*seccmb_items;
              seccmb_items=iniparser_getsecname(ini,i); //library function
              items=g_list_append(items,seccmb_items); // giving me error over here

     You are feeding a wild pointer to g_list_append(), if you pass NULL
(i.e. initialize `items' to NULL) then g_list_append() will create a
new list head.

Note that gtk-app-devel-list or gtk-list are probably better
suited for this kind of question.


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