[cluttermm] Stage: amends to allow build.



commit 21e06458c1f124d456e57e7b946303328c05f2eb
Author: Ian Martin <martin_id vodafone co nz>
Date:   Thu Apr 17 11:21:18 2014 +1200

    Stage: amends to allow build.
    
    Two typos removed to allow the build to proceed
    Removes stage::get_color as this is deprecated for the actor method.

 clutter/src/stage.ccg |    7 -------
 clutter/src/stage.hg  |    3 +--
 2 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/clutter/src/stage.ccg b/clutter/src/stage.ccg
index e30c23e..5cffaf2 100644
--- a/clutter/src/stage.ccg
+++ b/clutter/src/stage.ccg
@@ -28,13 +28,6 @@ Perspective::Perspective(float fovy, float aspect, float z_near, float z_far)
   gobject_.z_far = z_far;
 }
 
-Color Stage::get_color() const
-{
-  Color color;
-  clutter_stage_get_color(const_cast<ClutterStage*>(gobj()), color.gobj());
-  return color;
-}
-
 void Stage::set_key_focus()
 {
   clutter_stage_set_key_focus(gobj(), NULL);
diff --git a/clutter/src/stage.hg b/clutter/src/stage.hg
index 09231ae..7d32ae2 100644
--- a/clutter/src/stage.hg
+++ b/clutter/src/stage.hg
@@ -70,7 +70,7 @@ protected:
   /**
    * Creates a new stage. Every Clutter::Actor must be placed on a stage, and the
    * stage first created automatically occupies the window generated when
-   *  Clutter::maiAdded new properties and functions to wrap clutter 1.7.6n() is run.
+   *  Clutter::main() is run.
    *
    * Clutter can support more than one stage at once; however the ability to
    * support multiple stages depends on the current backend. Use
@@ -114,7 +114,6 @@ public:
   // TODO: Should we rather wrap this as std::string, or
   // as std::vector<unsigned char>, or Glib::ArrayHandle<guchar>?
   _WRAP_METHOD(guchar* read_pixels(int x, int y, int width, int height) const, clutter_stage_read_pixels)
- values.")
 
   _WRAP_METHOD(void stage_event(Event* event), clutter_stage_event)
   _WRAP_METHOD(void ensure_current(), clutter_stage_ensure_current)


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