diff --git a/ChangeLog b/ChangeLog index bf2e09b42..cf0be152b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-11 Emmanuele Bassi + + * clutter/eglnative/clutter-stage-egl.c: Remove a duplicate + get_preferred_width() implementation. (thanks to Iain Holmes) + 2008-06-11 Neil Roberts * clutter/clutter-actor.c (clutter_actor_allocate): Fixed the diff --git a/clutter/eglnative/clutter-stage-egl.c b/clutter/eglnative/clutter-stage-egl.c index 7d6d078ed..13a30c5c1 100644 --- a/clutter/eglnative/clutter-stage-egl.c +++ b/clutter/eglnative/clutter-stage-egl.c @@ -218,21 +218,6 @@ clutter_stage_egl_get_preferred_width (ClutterActor *self, *natural_width_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_width); } -static void -clutter_stage_egl_get_preferred_width (ClutterActor *self, - ClutterUnit for_height, - ClutterUnit *min_width_p, - ClutterUnit *natural_width_p) -{ - ClutterStageEGL *stage_egl = CLUTTER_STAGE_EGL (self); - - if (min_width_p) - *min_width_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_width); - - if (natural_width_p) - *natural_width_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_width); -} - static void clutter_stage_egl_get_preferred_height (ClutterActor *self, ClutterUnit for_width,