Hi, list.
        I can't understand, why g_list_append return different values in my 
callback's(please read source). In first case i got same list, which was 
obtained from arguments. In second case g_list_append returns newly created 
list.
Why result's is are not the same?

In real program, i need to get newly created list pointer in function like 
button_cb(), but don't know how to do it.

source: http://pastebin.com/4gMREKwd

output on my laptop:
INIT list prt: 0x830f080
Created: 0x830f080, arg: 0x830f080
Last list element: 0x832c610
Init list ptr: 0x832c5c0
Second list ptr: 0x830f120
End
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to