Commit 95960ab9 authored by Emmanuele Bassi's avatar Emmanuele Bassi

cogl: Add deprecation annotation to CoglMaterial ref/unref

The G_GNUC_DEPRECATED annotation was missing from the material ref and
unref functions.
parent a9941e94
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment