[glide] Saving shapes now works



commit 6ded3bacccb3876e9b96124d710fc0500e98617a
Author: Robert Carr <racarr Valentine localdomain>
Date:   Thu May 6 07:57:00 2010 -0400

    Saving shapes now works

 libglide/glide-actor.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libglide/glide-actor.c b/libglide/glide-actor.c
index f35f9d4..8fa5fa7 100644
--- a/libglide/glide-actor.c
+++ b/libglide/glide-actor.c
@@ -28,7 +28,7 @@
 
 #include "glide-image.h"
 #include "glide-text.h"
-
+#include "glide-shape.h"
 
 G_DEFINE_ABSTRACT_TYPE(GlideActor, glide_actor, CLUTTER_TYPE_ACTOR)
 
@@ -282,6 +282,10 @@ glide_actor_construct_from_json (GlideStageManager *manager,
     {
       ret = (GlideActor *)glide_text_new ();
     }
+  else if (!strcmp (a_type, "shape"))
+    {
+      ret = (GlideActor *)glide_shape_new ();
+    }
   else
     {
       return NULL;



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