[cluttermm] Temporarily remove methods with std::map containing a Glib::ValueBase.
- From: Chris Kühl <chriskuehl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] Temporarily remove methods with std::map containing a Glib::ValueBase.
- Date: Tue, 1 Mar 2011 10:13:48 +0000 (UTC)
commit d8f385708c2c10dd224fdff975773303709f8604
Author: Chris Kühl <chrisk openismus com>
Date: Mon Feb 28 10:18:47 2011 +0100
Temporarily remove methods with std::map containing a Glib::ValueBase.
Committing forgotten *.ccg files from before.
* clutter/src/actor.ccg:
* clutter/src/box.ccg:
ChangeLog | 9 +++++
clutter/src/actor.ccg | 88 ++++++++++++++++++++++++------------------------
clutter/src/box.ccg | 22 ++++++------
3 files changed, 64 insertions(+), 55 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9a17dae..f483163 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-02-28 Chris Kühl <chrisk openismus com>
+
+ Temporarily remove methods with std::map containing a Glib::ValueBase.
+
+ Committing forgotten *.ccg files from before.
+
+ * clutter/src/actor.ccg:
+ * clutter/src/box.ccg:
+
2011-02-27 Chris Kühl <chrisk openismus com>
Added signal name change forgotten from 2 commits ago.
diff --git a/clutter/src/actor.ccg b/clutter/src/actor.ccg
index 8ff6ac6..abc205a 100644
--- a/clutter/src/actor.ccg
+++ b/clutter/src/actor.ccg
@@ -99,50 +99,50 @@ Geometry Actor::get_allocation_geometry() const
return geom;
}
-Glib::RefPtr<Animation>
-Actor::animate(gulong mode, guint duration, const std::map<std::string, Glib::ValueBase>& properties)
-{
- gchar* c_properties[properties.size()];
- GValue values[properties.size()];
-
- for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
- {
- c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
- g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
- }
-
- return Glib::wrap(clutter_actor_animatev(gobj(), mode, duration, properties.size(), c_properties, values));
-}
-
-Glib::RefPtr<Animation>
-Actor::animate(gulong mode, const Glib::RefPtr<Timeline>& timeline, const std::map<std::string, Glib::ValueBase>& properties)
-{
- gchar* c_properties[properties.size()];
- GValue values[properties.size()];
-
- for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
- {
- c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
- g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
- }
-
- return Glib::wrap(clutter_actor_animate_with_timelinev(gobj(), mode, timeline->gobj(), properties.size(), c_properties, values));
-}
-
-Glib::RefPtr<Animation>
-Actor::animate(const Glib::RefPtr<Alpha>& alpha, const std::map<std::string, Glib::ValueBase>& properties)
-{
- gchar* c_properties[properties.size()];
- GValue values[properties.size()];
-
- for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
- {
- c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
- g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
- }
-
- return Glib::wrap(clutter_actor_animate_with_alphav(gobj(), alpha->gobj(), properties.size(), c_properties, values));
-}
+// Glib::RefPtr<Animation>
+// Actor::animate(gulong mode, guint duration, const std::map<std::string, Glib::ValueBase>& properties)
+// {
+// gchar* c_properties[properties.size()];
+// GValue values[properties.size()];
+
+// for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
+// {
+// c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
+// g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
+// }
+
+// return Glib::wrap(clutter_actor_animatev(gobj(), mode, duration, properties.size(), c_properties, values));
+// }
+
+// Glib::RefPtr<Animation>
+// Actor::animate(gulong mode, const Glib::RefPtr<Timeline>& timeline, const std::map<std::string, Glib::ValueBase>& properties)
+// {
+// gchar* c_properties[properties.size()];
+// GValue values[properties.size()];
+
+// for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
+// {
+// c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
+// g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
+// }
+
+// return Glib::wrap(clutter_actor_animate_with_timelinev(gobj(), mode, timeline->gobj(), properties.size(), c_properties, values));
+// }
+
+// Glib::RefPtr<Animation>
+// Actor::animate(const Glib::RefPtr<Alpha>& alpha, const std::map<std::string, Glib::ValueBase>& properties)
+// {
+// gchar* c_properties[properties.size()];
+// GValue values[properties.size()];
+
+// for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
+// {
+// c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
+// g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
+// }
+
+// return Glib::wrap(clutter_actor_animate_with_alphav(gobj(), alpha->gobj(), properties.size(), c_properties, values));
+// }
#if 0
// We need to hand-code this vfunc to write the result back into the
diff --git a/clutter/src/box.ccg b/clutter/src/box.ccg
index 63fe143..01979c9 100644
--- a/clutter/src/box.ccg
+++ b/clutter/src/box.ccg
@@ -27,20 +27,20 @@ Color Box::get_color() const
return color;
}
-void Box::pack(const Glib::RefPtr<Actor>& actor, const std::map<std::string, Glib::ValueBase>& properties)
-{
- gchar* c_properties[properties.size()];
- GValue values[properties.size()];
+// void Box::pack(const Glib::RefPtr<Actor>& actor, const std::map<std::string, Glib::ValueBase>& properties)
+// {
+// gchar* c_properties[properties.size()];
+// GValue values[properties.size()];
- for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
- {
- c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
- g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
- }
+// for(std::map<std::string, Glib::ValueBase>::const_iterator iter = properties.begin(); iter != properties.end(); ++iter)
+// {
+// c_properties[std::distance(properties.begin(), iter)] = g_strdup(iter->first.c_str());
+// g_value_copy(iter->second.gobj(), &values[std::distance(properties.begin(), iter)]);
+// }
- clutter_box_packv(gobj(), actor->gobj(), properties.size(), c_properties, values);
+// clutter_box_packv(gobj(), actor->gobj(), properties.size(), c_properties, values);
-}
+// }
} //namespace Clutter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]