On Monday 12 February 2007 17:45, Mariano Perez-Sauquillo Perera wrote:
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (callback), (gpointer) a);
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (callback), (gpointer) a[0]); Should be ok.