mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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:
parent
d3a51df0fa
commit
e8eb65319c
@ -124,7 +124,7 @@ cogl_material_copy (CoglHandle source);
|
||||
* Deprecated: 1.2: Use cogl_handle_ref() instead
|
||||
*/
|
||||
CoglHandle
|
||||
cogl_material_ref (CoglHandle handle);
|
||||
cogl_material_ref (CoglHandle handle) G_GNUC_DEPRECATED;
|
||||
|
||||
/**
|
||||
* cogl_material_unref:
|
||||
@ -137,7 +137,7 @@ cogl_material_ref (CoglHandle handle);
|
||||
* Deprecated: 1.2: Use cogl_handle_unref() instead
|
||||
*/
|
||||
void
|
||||
cogl_material_unref (CoglHandle handle);
|
||||
cogl_material_unref (CoglHandle handle) G_GNUC_DEPRECATED;
|
||||
|
||||
#endif /* COGL_DISABLE_DEPRECATED */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user