diff --git a/src/st/st-entry.c b/src/st/st-entry.c index 42f554c03..f5305c524 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -906,6 +906,13 @@ st_entry_unmap (ClutterActor *actor) CLUTTER_ACTOR_CLASS (st_entry_parent_class)->unmap (actor); } +static gboolean +st_entry_get_paint_volume (ClutterActor *actor, + ClutterPaintVolume *volume) +{ + return clutter_paint_volume_set_from_allocation (volume, actor); +} + static void st_entry_class_init (StEntryClass *klass) { @@ -923,6 +930,7 @@ st_entry_class_init (StEntryClass *klass) actor_class->allocate = st_entry_allocate; actor_class->paint = st_entry_paint; actor_class->unmap = st_entry_unmap; + actor_class->get_paint_volume = st_entry_get_paint_volume; actor_class->key_press_event = st_entry_key_press_event; actor_class->key_focus_in = st_entry_key_focus_in;