30 # Generate the def file
34 echo -n "Generating definitions for ${file} ... "
35 python
/usr
/share
/pygtk
/2.0/codegen
/h2def.py gnt
/$file >> gnt.def
39 # Remove the definitions about the enums
45 GNT_TYPE_KEY_PRESS_MODE
47 GNT_TYPE_TEXT_FORMAT_FLAGS
48 GNT_TYPE_TEXT_VIEW_FLAG
55 sed -ie s
/^.
*gtype-id\
\"$enum\".
*$
//g gnt.def