[docs] Fix G_DEFINE_INTERFACE "Since" tag

This symbol is available since Glib 2.24, not 2.20.
This commit is contained in:
Javier Jardón 2009-12-21 23:04:43 +01:00
parent e7488ca857
commit dba6cef3c9

View File

@ -1359,7 +1359,7 @@ gpointer g_type_instance_get_private (GTypeInstance *instance,
* name <literal>t_n ## _default_init</literal>, and the interface
* structure to have the name <literal>TN ## Interface</literal>.
*
* Since: 2.20
* Since: 2.24
*/
#define G_DEFINE_INTERFACE(TN, t_n, T_P) G_DEFINE_INTERFACE_WITH_CODE(TN, t_n, T_P, ;)
@ -1378,7 +1378,7 @@ gpointer g_type_instance_get_private (GTypeInstance *instance,
* G_DEFINE_TYPE_EXTENDED() for a similar example using
* G_DEFINE_TYPE_WITH_CODE().
*
* Since: 2.20
* Since: 2.24
*/
#define G_DEFINE_INTERFACE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_INTERFACE_EXTENDED_BEGIN(TN, t_n, T_P) {_C_;} _G_DEFINE_INTERFACE_EXTENDED_END()