Runtime error



Hello,
I am trying to print the file name from file selection dialog box by using
printf ("%s\n",gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs)));
I am getting following error
Gtk-CRITICAL **: file gtkfilesel.c: line 1242 (gtk_file_selection_get_filename): assertion `GTK_IS_FILE_SELECTION (filesel)' failed

Please, anybody can figure out what's wrong with this...
Thanks,
/utpal



============================================================================================================================

The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you should not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please notify us by telephone or e-mail the sender by replying to this message, and then delete this e-mail and other copies of it from your computer system. Thank you.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]