Re: Warning: implicit declaration of function `lstat'

2005-09-11 Thread Pseudo Nym
I have just discovered that I can lose the error message by replacing 'g_lstat' with 'gstat', or I can keep 'g_lstat' and remove the '-ansi' flag from my makefile. It seems that 'stat' is ansi compliant, but 'lstat' is not. Kevin ___ gtk-app-devel-li

Re: Warning: implicit declaration of function `lstat'

2005-09-11 Thread Pseudo Nym
Thanks for the reply ztl_post, gstdio.h #includes , so I did not think I had to include it myself. Adding it to my source file does not solve the problem, nor did adding all the #includes shown by 'man lstat': #include #include #include I have checked for stat.h on my system - it

Warning: implicit declaration of function `lstat'

2005-09-10 Thread Pseudo Nym
I am trying to use g_lstat to obtain the attributes of a file. Partial source code: #include #include struct stat*filedata; gintresult; result = g_lstat(filename,filedata); I am getting a compiler error: "Warning: implicit declaration of function `lstat'" Ther

Cannot hide dialog until signal handler exits

2005-08-13 Thread Pseudo Nym
The signal handler for a button in my main window launches a file chooser dialog, then processes the selected files. I try to hide the dialog during processing with 'gtk_widget_hide (dialog);' but this does not take effect until the signal handler exits. Is there a way to hide the dialog immedia