diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-06 13:39:11 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-26 08:41:04 +0200 |
| commit | 0f61a61df377bd99f6f3a7f8fe9abd05f023a94b (patch) | |
| tree | cfbaf3d1a03b64e04c4309003683636a643ae83b | |
| parent | 3158a3482b0093e41f2b2596fba50774ea31ae08 (diff) | |
| download | focaccia-qemu-0f61a61df377bd99f6f3a7f8fe9abd05f023a94b.tar.gz focaccia-qemu-0f61a61df377bd99f6f3a7f8fe9abd05f023a94b.zip | |
gtk: zap unused global_state
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
| -rw-r--r-- | ui/gtk.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/gtk.c b/ui/gtk.c index a55ceb40d9..0d86025877 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -204,8 +204,6 @@ struct GtkDisplayState { bool has_evdev; }; -static GtkDisplayState *global_state; - static void gd_grab_pointer(VirtualConsole *vc); static void gd_ungrab_pointer(GtkDisplayState *s); @@ -1815,8 +1813,6 @@ void gtk_display_init(DisplayState *ds, bool full_screen, bool grab_on_hover) } gd_set_keycode_type(s); - - global_state = s; } void early_gtk_display_init(void) |