[libchamplain] ChamplainPoint: Remove now redundant proxy implementations



commit 0a25d2e793f3a90a38ef17b65b794b6f7beaa9b8
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Apr 10 17:02:25 2013 +0300

    ChamplainPoint: Remove now redundant proxy implementations
    
    Not sure if they were needed before but removing them now does not seem
    to cause any problems afaict from my limited testing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697711

 champlain/champlain-point.c |   57 -------------------------------------------
 1 files changed, 0 insertions(+), 57 deletions(-)
---
diff --git a/champlain/champlain-point.c b/champlain/champlain-point.c
index 334a0d9..4ef5bc7 100644
--- a/champlain/champlain-point.c
+++ b/champlain/champlain-point.c
@@ -152,37 +152,6 @@ pick (ClutterActor *self,
   cogl_path_fill ();
 }
 
-
-static void
-get_preferred_width (ClutterActor *self,
-    gfloat for_height,
-    gfloat *min_width_p,
-    gfloat *natural_width_p)
-{
-  ChamplainPointPrivate *priv = GET_PRIVATE (self);
-
-  clutter_actor_get_preferred_width (priv->point_actor,
-      for_height,
-      min_width_p,
-      natural_width_p);
-}
-
-
-static void
-get_preferred_height (ClutterActor *self,
-    gfloat for_width,
-    gfloat *min_height_p,
-    gfloat *natural_height_p)
-{
-  ChamplainPointPrivate *priv = GET_PRIVATE (self);
-
-  clutter_actor_get_preferred_height (priv->point_actor,
-      for_width,
-      min_height_p,
-      natural_height_p);
-}
-
-
 static void
 allocate (ClutterActor *self,
     const ClutterActorBox *box,
@@ -204,28 +173,6 @@ allocate (ClutterActor *self,
 
 
 static void
-map (ClutterActor *self)
-{
-  ChamplainPointPrivate *priv = GET_PRIVATE (self);
-
-  CLUTTER_ACTOR_CLASS (champlain_point_parent_class)->map (self);
-
-  clutter_actor_map (priv->point_actor);
-}
-
-
-static void
-unmap (ClutterActor *self)
-{
-  ChamplainPointPrivate *priv = GET_PRIVATE (self);
-
-  CLUTTER_ACTOR_CLASS (champlain_point_parent_class)->unmap (self);
-
-  clutter_actor_unmap (priv->point_actor);
-}
-
-
-static void
 champlain_point_dispose (GObject *object)
 {
   ChamplainPointPrivate *priv = CHAMPLAIN_POINT (object)->priv;
@@ -269,13 +216,9 @@ champlain_point_class_init (ChamplainPointClass *klass)
   object_class->get_property = champlain_point_get_property;
   object_class->set_property = champlain_point_set_property;
 
-  actor_class->get_preferred_width = get_preferred_width;
-  actor_class->get_preferred_height = get_preferred_height;
   actor_class->allocate = allocate;
   actor_class->paint = paint;
   actor_class->pick = pick;
-  actor_class->map = map;
-  actor_class->unmap = unmap;
 
   g_object_class_install_property (object_class, PROP_COLOR,
       clutter_param_spec_color ("color", 


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