code work wrong when i put it in gtk+ application

2009-11-11 Thread cet cet
After i updated my system my previously working gtk+ application start to print wrong result.The problem is atof() i used in the program.The code is working as expected in a standart c console version.(Program reads some datas from file and make some calculations)The code i used is; suppose

gtk_builder NOT Working

2009-11-04 Thread cet cet
I trying a test application with gtk_builder the application compiles without any error but i can't see any visual parts of the program.Glade Version:3.6.x saves in GtkBuilder format. compile command: gcc -Wall -g -o builder_new builder_new.c -export-dynamic `pkg-config --cflags --libs gtk+-2.0`

question about g_file_test();

2009-04-26 Thread cet cet
For a broken symlink  file called file(full path); g_file_test(file,G_FILE_TEST_IS_SYMLINK) returning TRUE; g_remove(file);removes file; g_file_test(file,G_FILE_TEST_EXISTS) returning FALSE-why; is it correct the g_file_test(file,G_FILE_TEST_EXISTS) returning FALSE?