On 9 September 2010 11:15, Colomban Wendling lists.ban@herbesfolles.org wrote:
Hi,
Le 09/09/2010 03:02, Erik de Castro Lopo a écrit :
Hi all,
Could someone clue me in as to how the src/interface.c file is generated?
AFAIK it is generated by Glade 2.x; but I'd think it's mentioned in the HACKING file, isn't it?
Since its autogenerated, wouldn't it be a good idea to remove it from the repo? Obviously, it should be shipped in the source code tarball, but it is reasonable to expect that anyone working from SVN have whatever tool is required to generate that file.
Since Glade 2.x doesn't really exist anymore (its out-of-date and couldn't even be compiled with recent GTK version [1]), I don't think it is reasonable to think that every possible contributor have it. So I think keeping it in the repository is a good thing.
That said, I think it'd be good to find a legacy-free way to generate this file -- but I don't know if a C source generator already exists for Glade 3.x/and or GtkBuilder...
Glade 3 doesn't support code generation, it only supports using XML descriptions via libglade or gtkbuilder.
Cheers Lex
Regards, Colomban
[1] at least it wasn't possible without fixing an issue in GTK 2.20, see https://bugzilla.gnome.org/show_bug.cgi?id=618639 _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel