mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
gtk: zap unused global_state
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user