mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -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
a9941e9499
commit
95960ab902
@ -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