[gnome-shell] shell: Remove shell_util_text_insert_keyval()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell: Remove shell_util_text_insert_keyval()
- Date: Wed, 10 Aug 2016 09:52:14 +0000 (UTC)
commit 284cbf3ea7312be2160a42189ca51d898ea60695
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Aug 10 11:25:50 2016 +0200
shell: Remove shell_util_text_insert_keyval()
It is now unused.
src/shell-util.c | 12 ------------
src/shell-util.h | 3 ---
2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/shell-util.c b/src/shell-util.c
index 5cd2258..b998f2b 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 80a1dc7..1d25d6f 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]