2011/4/24 David Nečas <y...@physics.muni.cz>

> On Sun, Apr 24, 2011 at 11:11:58AM +0900, Tristan Van Berkom wrote:
> > Anyway, with a good VCS you should be able to easily maintain an old
> GTK+2
> > branch of your project and easily backport the fixes which apply from
> your new
> > GTK+3 branch back into the old source base (and avoid the whole #ifdef
> mess
> > easily enough).
>
> This might be convenient for the developer but this convenience is
> achieved by distributing the burden to users that will have to decide
> which version to download – an this will be unclear to many.
>
> Yeti
>

You can do a shellscript, check which version and run the proper excutable.
This requires to always ship both versions but will work pretty much out.
Another option is to put in one binary file which has a runtime switch to
jump to one or another code section (I am not very familiar with this and
may be not that much fun at all).

Regards

Bernhard
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to