great thanks for all reply. Josselin's hit my point. thanks again.
ln Josselin Mouette wrote: > Le vendredi 02 mars 2007 à 14:24 +0800, Neo Liu a écrit : > >> gurus, >> >> how can I get a library version in code? is there a general way? and if >> not, is there a way to get atk/at-spi library version? >> > > There is no generic way to do this, but a number of libraries provide > interfaces to their version. With ATK, it is atk_get_toolkit_version, > and with at-spi it is AccessibleApplication_getVersion. > > However you should be very careful with what you do with such string > versions, as they can't be expected to carry meaningful information > about the library's features. > > For example, Eclipse has a workaround for a bug found in some GTK+ > versions, and checks for the GTK+ version to know whether it should use > the workaround. When the GTK+ fix was backported, Eclipse started to > fail horribly. > > Cheers, > _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
