Simple procedure question



Hi,
 
I've got a usual callback function:
 
void button1_clicked (GtkButton *button, gpointer user_data)
{
    sortlist();
}
 
Although I've also got another function, which is home made and I want something like the following in it:
 
void sortlist()
{
    g_list_append(WHAT GOES HERE,"hello");
}
 
I'm not quite sure what I put there. The first function is on one .c file and the second is on a different .c file. Can anybody help me please?
 
 
Thanks very much for your time,
Uni


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