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
+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.
+
2007-06-04 Li Yuan <li.yuan@sun.com>
* configure.in, NEWS:
#include "atkutil.h"
#include "atkmarshal.c"
+#include "config.h"
static void atk_util_class_init (AtkUtilClass *klass);
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;
+}
+
*/
G_CONST_RETURN gchar *atk_get_toolkit_version (void);
+/*
+ * Gets the current version of ATK
+ */
+G_CONST_RETURN gchar *atk_get_version (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */