2008-06-16 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/eglnative/clutter-stage-egl.c: Ignore any size allocation we receive from the user. * clutter/fruity/clutter-stage-fruity.c: Ditto as above.
This commit is contained in:
parent
1c4b1ce90e
commit
aef6fc5f61
@ -1,3 +1,10 @@
|
|||||||
|
2008-06-16 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/eglnative/clutter-stage-egl.c: Ignore any size allocation
|
||||||
|
we receive from the user.
|
||||||
|
|
||||||
|
* clutter/fruity/clutter-stage-fruity.c: Ditto as above.
|
||||||
|
|
||||||
2008-06-16 Tomas Frydrych <tf@openedhand.com>
|
2008-06-16 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-actor.c:
|
* clutter/clutter-actor.c:
|
||||||
|
@ -233,6 +233,17 @@ clutter_stage_egl_get_preferred_height (ClutterActor *self,
|
|||||||
*natural_height_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_height);
|
*natural_height_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
clutter_stage_egl_allocate (ClutterActor *self,
|
||||||
|
const ClutterActorBox *box,
|
||||||
|
gboolean origin_changed)
|
||||||
|
{
|
||||||
|
/* we cannot resize the frame buffer, so we just ignore
|
||||||
|
* any allocation we receive by simply interrupting the
|
||||||
|
* allocation chain.
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_stage_egl_dispose (GObject *gobject)
|
clutter_stage_egl_dispose (GObject *gobject)
|
||||||
{
|
{
|
||||||
@ -257,6 +268,7 @@ clutter_stage_egl_class_init (ClutterStageEGLClass *klass)
|
|||||||
actor_class->unrealize = clutter_stage_egl_unrealize;
|
actor_class->unrealize = clutter_stage_egl_unrealize;
|
||||||
actor_class->get_preferred_width = clutter_stage_egl_get_preferred_width;
|
actor_class->get_preferred_width = clutter_stage_egl_get_preferred_width;
|
||||||
actor_class->get_preferred_height = clutter_stage_egl_get_preferred_height;
|
actor_class->get_preferred_height = clutter_stage_egl_get_preferred_height;
|
||||||
|
actor_class->allocate = clutter_stage_egl_allocate;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -217,6 +217,17 @@ clutter_stage_egl_get_preferred_height (ClutterActor *self,
|
|||||||
*natural_height_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_height);
|
*natural_height_p = CLUTTER_UNITS_FROM_DEVICE (stage_egl->surface_height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
clutter_stage_egl_allocate (ClutterActor *self,
|
||||||
|
const ClutterActorBox *box,
|
||||||
|
gboolean origin_changed)
|
||||||
|
{
|
||||||
|
/* we cannot resize the frame buffer, so we just ignore
|
||||||
|
* any allocation we receive by simply interrupting the
|
||||||
|
* allocation chain.
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_stage_egl_dispose (GObject *gobject)
|
clutter_stage_egl_dispose (GObject *gobject)
|
||||||
{
|
{
|
||||||
@ -241,6 +252,7 @@ clutter_stage_egl_class_init (ClutterStageEGLClass *klass)
|
|||||||
actor_class->unrealize = clutter_stage_egl_unrealize;
|
actor_class->unrealize = clutter_stage_egl_unrealize;
|
||||||
actor_class->get_preferred_width = clutter_stage_egl_get_preferred_width;
|
actor_class->get_preferred_width = clutter_stage_egl_get_preferred_width;
|
||||||
actor_class->get_preferred_height = clutter_stage_egl_get_preferred_height;
|
actor_class->get_preferred_height = clutter_stage_egl_get_preferred_height;
|
||||||
|
actor_class->allocate = clutter_stage_egl_allocate;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user