diff options
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r-- | gdk/gdkevents.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 4a8dcb71f1..35558f68b0 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -631,11 +631,6 @@ gdk_event_copy (const GdkEvent *event) switch ((guint) event->any.type) { - case GDK_KEY_PRESS: - case GDK_KEY_RELEASE: - new_event->key.string = g_strdup (event->key.string); - break; - case GDK_ENTER_NOTIFY: case GDK_LEAVE_NOTIFY: if (event->crossing.child_surface != NULL) @@ -698,11 +693,6 @@ gdk_event_finalize (GObject *object) switch ((guint) event->any.type) { - case GDK_KEY_PRESS: - case GDK_KEY_RELEASE: - g_free (event->key.string); - break; - case GDK_ENTER_NOTIFY: case GDK_LEAVE_NOTIFY: g_clear_object (&event->crossing.child_surface); |