[Cogl] [PATCH] offscreen: Remove declarations of long gone cogl_offscreen_{ref, unref}()

Damien Lespiau damien.lespiau at gmail.com
Mon Oct 1 15:48:45 PDT 2012


From: Damien Lespiau <damien.lespiau at intel.com>

---
 cogl/cogl-offscreen.h |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/cogl/cogl-offscreen.h b/cogl/cogl-offscreen.h
index e3ca11b..9ce428f 100644
--- a/cogl/cogl-offscreen.h
+++ b/cogl/cogl-offscreen.h
@@ -82,36 +82,6 @@ cogl_offscreen_new_to_texture (CoglTexture *texture);
 CoglBool
 cogl_is_offscreen (void *object);
 
-#ifndef COGL_DISABLE_DEPRECATED
-
-/**
- * cogl_offscreen_ref:
- * @offscreen: A pointer to a #CoglOffscreen framebuffer
- *
- * Increments the reference count on the @offscreen framebuffer.
- *
- * Return value: (transfer none): For convenience it returns the
- *                                given @offscreen
- *
- * Deprecated: 1.2: cogl_object_ref() should be used in new code.
- */
-void *
-cogl_offscreen_ref (void *offscreen) G_GNUC_DEPRECATED;
-
-/**
- * cogl_offscreen_unref:
- * @offscreen: A pointer to a #CoglOffscreen framebuffer
- *
- * Decreases the reference count for the @offscreen buffer and frees it when
- * the count reaches 0.
- *
- * Deprecated: 1.2: cogl_object_unref() should be used in new code.
- */
-void
-cogl_offscreen_unref (void *offscreen) G_GNUC_DEPRECATED;
-
-#endif /* COGL_DISABLE_DEPRECATED */
-
 G_END_DECLS
 
 #endif /* __COGL_OFFSCREEN_H__ */
-- 
1.7.7.5



More information about the Cogl mailing list