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

Robert Bragg robert at sixbynine.org
Tue Oct 2 06:40:24 PDT 2012


this looks good to land to me:

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert

On Mon, Oct 1, 2012 at 11:48 PM, Damien Lespiau
<damien.lespiau at gmail.com> wrote:
> 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
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list