hi,
Code:
if(!gtk_init_check(NULL,NULL))
printf("gtk not initialised properly");
..."!" means in your case zero(succes)
this should be better
Code:
if(gtk_init_check(NULL,NULL))
printf("gtk not initialised properly");
"!" means false, and false is only 0.
1, 2, 3 ....-1, -2 means true.