diff --git a/src/shell-util.c b/src/shell-util.c index 5cd225822..b998f2b9b 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -393,18 +393,6 @@ shell_util_need_background_refresh (void) return FALSE; } -void -shell_util_text_insert_keyval (ClutterActor *actor, - guint keyval) -{ - ClutterEvent event = { 0 }; - - event.type = CLUTTER_KEY_PRESS; - event.key.keyval = keyval; - - clutter_actor_event (actor, &event, FALSE); -} - static gboolean canvas_draw_cb (ClutterContent *content, cairo_t *cr, diff --git a/src/shell-util.h b/src/shell-util.h index 80a1dc75a..1d25d6f88 100644 --- a/src/shell-util.h +++ b/src/shell-util.h @@ -48,9 +48,6 @@ void shell_util_cursor_tracker_to_clutter (MetaCursorTracker *tracker, gboolean shell_util_need_background_refresh (void); -void shell_util_text_insert_keyval (ClutterActor *actor, - guint keyval); - ClutterContent * shell_util_get_content_for_window_actor (MetaWindowActor *window_actor, MetaRectangle *window_rect);