gtk: zap unused global_state

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2014-05-06 13:39:11 +02:00
parent 3158a3482b
commit 0f61a61df3

View File

@ -204,8 +204,6 @@ struct GtkDisplayState {
bool has_evdev; bool has_evdev;
}; };
static GtkDisplayState *global_state;
static void gd_grab_pointer(VirtualConsole *vc); static void gd_grab_pointer(VirtualConsole *vc);
static void gd_ungrab_pointer(GtkDisplayState *s); 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); gd_set_keycode_type(s);
global_state = s;
} }
void early_gtk_display_init(void) void early_gtk_display_init(void)