[gnome-shell] StIcon: remove implementation of ::map and ::unmap
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] StIcon: remove implementation of ::map and ::unmap
- Date: Thu, 9 Dec 2010 21:28:43 +0000 (UTC)
commit 2332e2b0c56e9eb9b03a079bb5894dbb16775f48
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Thu Dec 9 17:59:58 2010 +0100
StIcon: remove implementation of ::map and ::unmap
They're not needed since Clutter 1.5.8, which internally
keeps a list of children, used by the default implementations of
::map and ::unmap.
https://bugzilla.gnome.org/show_bug.cgi?id=634814
src/st/st-icon.c | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/src/st/st-icon.c b/src/st/st-icon.c
index 8b2ae02..9cf2993 100644
--- a/src/st/st-icon.c
+++ b/src/st/st-icon.c
@@ -273,28 +273,6 @@ st_icon_paint (ClutterActor *actor)
}
static void
-st_icon_map (ClutterActor *actor)
-{
- StIconPrivate *priv = ST_ICON (actor)->priv;
-
- CLUTTER_ACTOR_CLASS (st_icon_parent_class)->map (actor);
-
- if (priv->icon_texture)
- clutter_actor_map (priv->icon_texture);
-}
-
-static void
-st_icon_unmap (ClutterActor *actor)
-{
- StIconPrivate *priv = ST_ICON (actor)->priv;
-
- CLUTTER_ACTOR_CLASS (st_icon_parent_class)->unmap (actor);
-
- if (priv->icon_texture)
- clutter_actor_unmap (priv->icon_texture);
-}
-
-static void
st_icon_style_changed (StWidget *widget)
{
StIcon *self = ST_ICON (widget);
@@ -325,8 +303,6 @@ st_icon_class_init (StIconClass *klass)
actor_class->get_preferred_width = st_icon_get_preferred_width;
actor_class->allocate = st_icon_allocate;
actor_class->paint = st_icon_paint;
- actor_class->map = st_icon_map;
- actor_class->unmap = st_icon_unmap;
widget_class->style_changed = st_icon_style_changed;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]