Changed EphyHistoryWindow to use the new backend, some things still remain (selected_...
[ephy-soc.git] / README.Python
blob0720b4d0a73d85599c576a58a4d55e456f419ba6
1 Updating the epiphany.defs file
2 -------------------------------
4 Pygtk wraps most functions itself automatically, it uses the 
5 epiphany.defs file, this must be kept in-sync with the epiphany includes.
6 To update the file:
8  - Install gnome-python so that you have the "h2def.py" script
10  - Ensure that the installed epiphany include directory is uptodate
11    (i.e. it doesn't contain any stale ephy header)
13  - Run "python /path/to/h2def.py /path/to/include/epiphany-1.5/epiphany/* > epiphany.defs
15  - You MUST now compare to see what has changed, e.g. the above command has the
16    following problems:
17         - It misses boxed types
18         - It doesn't mark interfaces correctly
19         - You need to ensure that no is-constructor-of lines have been lost
21  - Basically, just do a svn diff and fix things up as appropriate.
23  - Finally ensure it compiles, but that's obvious, right? :-)
25 You could also make all the changes manually, but it's easier to use
26 the above process.