glade3, how to get the response of GtkFileChooserDialog somwhere in my code and open a file?

2015-01-16 Thread Nicolas Jäger
Hi g(tk)uys, I have a GtkFileChooserDialog with two buttons, one Open and one Cancel. They have the respective Response ID set to "0" and "1". So when I select a file and click on "Open" GTK sents the code "0" somewhere, but I don't know how to get this in my code... So I tried to get the string

g_io_channel_seek_position() crashes on 64-bit machine but works fine on 32-bit one

2015-01-16 Thread Dmitry Perov
Hi everyone! I'm developing a simple application using gtk+2 and use g_io_channel_seek_position() in it. Earlier I worked under 32-bit Linux and everything went perfectly fine, but then I switched to a 64-bit OS (the same Linux distribution, only the architechture has changed). I compile my code w