cogl: Add deprecation annotation to CoglMaterial ref/unref

The G_GNUC_DEPRECATED annotation was missing from the material ref and
unref functions.
This commit is contained in:
Emmanuele Bassi 2010-02-23 16:51:26 +00:00
parent a9941e9499
commit 95960ab902

View File

@ -124,7 +124,7 @@ cogl_material_copy (CoglHandle source);
* Deprecated: 1.2: Use cogl_handle_ref() instead * Deprecated: 1.2: Use cogl_handle_ref() instead
*/ */
CoglHandle CoglHandle
cogl_material_ref (CoglHandle handle); cogl_material_ref (CoglHandle handle) G_GNUC_DEPRECATED;
/** /**
* cogl_material_unref: * cogl_material_unref:
@ -137,7 +137,7 @@ cogl_material_ref (CoglHandle handle);
* Deprecated: 1.2: Use cogl_handle_unref() instead * Deprecated: 1.2: Use cogl_handle_unref() instead
*/ */
void void
cogl_material_unref (CoglHandle handle); cogl_material_unref (CoglHandle handle) G_GNUC_DEPRECATED;
#endif /* COGL_DISABLE_DEPRECATED */ #endif /* COGL_DISABLE_DEPRECATED */