Add a .gitignore file to the project.
Remove deprecated gtk+ functions.

The use of gtk_hpaned_new/gtk_vpaned_new/gtk_vbox_new/gtk_hbox_new
is deprecated in gtk+-3.