From 8f87555176f3f99b731b5392319987ded2b51095 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 28 Feb 2020 14:42:19 -0500 Subject: [PATCH] inspector: Fix the "Software GL" switch This was crashing. --- gtk/inspector/visual.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/inspector/visual.c b/gtk/inspector/visual.c index 7fcf969905..8136fc3396 100644 --- a/gtk/inspector/visual.c +++ b/gtk/inspector/visual.c @@ -1049,6 +1049,7 @@ update_gl_flag (GtkSwitch *sw, static void software_gl_activate (GtkSwitch *sw, + GParamSpec *pspec, GtkInspectorVisual *vis) { update_gl_flag (sw, GDK_DEBUG_GL_SOFTWARE, vis);