gtk: zap unused global_state
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
3158a3482b
commit
0f61a61df3
4
ui/gtk.c
4
ui/gtk.c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user