Re: porting GTK+1.2 to GTK+2.0



Peter Van Osta <pvosta unionbio-eu com> writes:
> 
> What is the best/safest way to convert a large amount of source code
> from GTK+1.2 to GTK+2.0 ?

Read the porting guide on developer.gnome.org/dotplan/ (at least the
parts about GTK), read the Changes in 2.0 section in the reference
manual, read Compiling a GTK App in the 2.0 reference manual, move
your compile over to use 2.0, then try compiling and fix the compiler
errors.

> What to do with a project in glade which I
> would like to convert to GTK+2.0 use ?

There's a script that comes with libglade called libglade-convert
which will convert your glade project to GTK 2. Then use the glade-2
version of glade.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]