[gtk/matthiasc/for-master: 3/3] inspector: Fix the "Software GL" switch



commit 8f87555176f3f99b731b5392319987ded2b51095
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 28 14:42:19 2020 -0500

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]