projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3158a34
)
gtk: zap unused global_state
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 6 May 2014 11:39:11 +0000
(13:39 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 26 May 2014 06:41:04 +0000
(08:41 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c
patch
|
blob
|
history
diff --git
a/ui/gtk.c
b/ui/gtk.c
index a55ceb40d9d96b8c946df3b5abc722e54dd358ef..0d8602587712d28b24848b2f515eae0231a0b096 100644
(file)
--- 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)