[clutter] actor: Remove stray cogl_object_unref()



commit b5aa666dcd853b063c44f279e41b73e2f792e1aa
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Mon Feb 13 17:56:12 2012 +0000

    actor: Remove stray cogl_object_unref()
    
    The outline primitive is static, so unref'ing it makes Clutter crash.

 clutter/clutter-actor.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 022eb30..df495fb 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -2725,7 +2725,6 @@ _clutter_actor_draw_paint_volume_full (ClutterActor *self,
 
   cogl_pipeline_set_color (outline, color);
   cogl_framebuffer_draw_primitive (fb, outline, prim);
-  cogl_object_unref (outline);
   cogl_object_unref (prim);
 
   if (label)



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