[cogl] cogl-pango-fontmap: Use the right unref function for the renderer



commit d9aa6ffa8b8ec256911a0d32d2b486d230461f35
Author: Neil Roberts <neil linux intel com>
Date:   Fri Jun 1 12:28:23 2012 +0100

    cogl-pango-fontmap: Use the right unref function for the renderer
    
    The renderer was being unrefed with cogl_object_unref but it's
    actually a GObject.
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 cogl-pango/cogl-pango-fontmap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl-pango/cogl-pango-fontmap.c b/cogl-pango/cogl-pango-fontmap.c
index 4016811..e8df836 100644
--- a/cogl-pango/cogl-pango-fontmap.c
+++ b/cogl-pango/cogl-pango-fontmap.c
@@ -61,7 +61,7 @@ free_priv (gpointer data)
   CoglPangoFontMapPriv *priv = data;
 
   cogl_object_unref (priv->ctx);
-  cogl_object_unref (priv->renderer);
+  g_object_unref (priv->renderer);
 
   g_free (priv);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]