I was unable to reproduce your error on my system. May be you have something missing from your install which is not monitoring the changes in the file system.

Note in your original code you have done some possible errors. First you should return 0 from main unless you really want to indicate to the operating system that the application had an error. Try to avoid the use of "using namespace", this is considered bad practice and defeats the point of name spaces.

I have also re-written your code to use gtkmm, which is the C++ binding for GTK since you are using C++. This is just an example and does not have full error checking.Use this to compile (I am using gtkmm 3, this should also work with gtkmm 2 if you substitute gtkmm-2.4 instead of gtkmm-3.0)

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum