[gnome-photos] embed: Fix typo



commit de4fd394780480f00b415a4bc9f8d593653c5eb8
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 10 03:23:49 2012 +0200

    embed: Fix typo

 src/photos-embed.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-embed.c b/src/photos-embed.c
index 16537af..b83730f 100644
--- a/src/photos-embed.c
+++ b/src/photos-embed.c
@@ -339,7 +339,7 @@ photos_embed_init (PhotosEmbed *self)
   ClutterActor *actor;
   ClutterActor *stage;
   ClutterActor *toolbar_actor;
-  ClutterBinLayout *overlay_layout;
+  ClutterLayoutManager *overlay_layout;
   ClutterColor color = {255, 255, 255, 255};
   ClutterConstraint *constraint;
 
@@ -349,7 +349,7 @@ photos_embed_init (PhotosEmbed *self)
   gtk_clutter_embed_set_use_layout_size (GTK_CLUTTER_EMBED (self), TRUE);
 
   overlay_layout = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER);
-  actor = clutter_box_new (CLUTTER_LAYOUT_MANAGER (overlay_layout));
+  actor = clutter_box_new (overlay_layout);
 
   stage = gtk_clutter_embed_get_stage (GTK_CLUTTER_EMBED (self));
   constraint = clutter_bind_constraint_new (stage, CLUTTER_BIND_SIZE, 0.0);



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