From 95960ab902852e9c4830815b89d0a315fb9e4c50 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 23 Feb 2010 16:51:26 +0000 Subject: [PATCH] cogl: Add deprecation annotation to CoglMaterial ref/unref The G_GNUC_DEPRECATED annotation was missing from the material ref and unref functions. --- clutter/cogl/cogl/cogl-material.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/cogl/cogl/cogl-material.h b/clutter/cogl/cogl/cogl-material.h index 9b0b059..e08ef8d 100644 --- a/clutter/cogl/cogl/cogl-material.h +++ b/clutter/cogl/cogl/cogl-material.h @@ -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 */ -- 2.7.4