diff options
author | Li Yuan <li.yuan@sun.com> | 2007-07-27 09:13:41 +0000 |
---|---|---|
committer | Li Yuan <liyuan@src.gnome.org> | 2007-07-27 09:13:41 +0000 |
commit | 194860b7423cefdbd5719f68563a4d8239e76e62 (patch) | |
tree | 0d67338036fa3757e99f97966c90049e782fd286 /atk/atkutil.c | |
parent | 71144a97c30c40cd24defb5c88d0cad6af7535b7 (diff) | |
download | atk-194860b7423cefdbd5719f68563a4d8239e76e62.tar.gz |
Bug #460851. A new API to get the current version of ATK.
2007-07-27 Li Yuan <li.yuan@sun.com>
* atk/atkutil.c: (atk_get_version):
* atk/atkutil.h:
Bug #460851. A new API to get the current version of ATK.
svn path=/trunk/; revision=1186
Diffstat (limited to 'atk/atkutil.c')
-rwxr-xr-x | atk/atkutil.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/atk/atkutil.c b/atk/atkutil.c index 1aca841..a36b6ad 100755 --- a/atk/atkutil.c +++ b/atk/atkutil.c @@ -19,6 +19,7 @@ #include "atkutil.h" #include "atkmarshal.c" +#include "config.h" static void atk_util_class_init (AtkUtilClass *klass); @@ -381,3 +382,18 @@ atk_get_toolkit_version (void) return retval; } + +/** + * atk_get_version: + * + * Gets the current version for ATK. + * + * Returns: version string for ATK + **/ + +G_CONST_RETURN gchar * +atk_get_version (void) +{ + return VERSION; +} + |