aboutsummaryrefslogtreecommitdiff
path: root/ui/gtk.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-05-06 13:39:11 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-05-26 08:41:04 +0200
commit0f61a61df377bd99f6f3a7f8fe9abd05f023a94b (patch)
treecfbaf3d1a03b64e04c4309003683636a643ae83b /ui/gtk.c
parent3158a3482b0093e41f2b2596fba50774ea31ae08 (diff)
gtk: zap unused global_state
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r--ui/gtk.c4
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)