[cluttermm_tutorial] Scrolling: Remove deprecated clutter_container_foreach().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm_tutorial] Scrolling: Remove deprecated clutter_container_foreach().
- Date: Thu, 17 Apr 2014 20:05:58 +0000 (UTC)
commit 704f5af2dd63370473e9664feb7f84bdcd495588
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 17 22:00:49 2014 +0200
Scrolling: Remove deprecated clutter_container_foreach().
Though this whole example is probably useless.
examples/scrolling/scrollingcontainer.cc | 5 -----
examples/scrolling/scrollingcontainer.h | 3 ++-
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/examples/scrolling/scrollingcontainer.cc b/examples/scrolling/scrollingcontainer.cc
index ce6c03b..5cec357 100644
--- a/examples/scrolling/scrollingcontainer.cc
+++ b/examples/scrolling/scrollingcontainer.cc
@@ -116,11 +116,6 @@ void ScrollingContainer::sort_depth_order_vfunc()
g_assert_not_reached();
}
-void ScrollingContainer::foreach_vfunc(ClutterCallback callback, gpointer user_data)
-{
- clutter_container_foreach(children_->Clutter::Container::gobj(), callback, user_data);
-}
-
void ScrollingContainer::paint_vfunc()
{
border_ ->paint();
diff --git a/examples/scrolling/scrollingcontainer.h b/examples/scrolling/scrollingcontainer.h
index d1a56f0..7ee764d 100644
--- a/examples/scrolling/scrollingcontainer.h
+++ b/examples/scrolling/scrollingcontainer.h
@@ -23,6 +23,8 @@
namespace Tutorial
{
+//TODO: Replace this with Clutter::ScrollActor.
+
class ScrollingContainer : public Clutter::Actor, public Clutter::Container
{
public:
@@ -40,7 +42,6 @@ protected:
virtual void raise_vfunc(const Glib::RefPtr<Actor>& actor, const Glib::RefPtr<Actor>& sibling);
virtual void lower_vfunc(const Glib::RefPtr<Actor>& actor, const Glib::RefPtr<Actor>& sibling);
virtual void sort_depth_order_vfunc();
- virtual void foreach_vfunc(ClutterCallback callback, gpointer user_data);
// Clutter::Actor interface:
virtual void paint_vfunc();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]