gl plugin: fix per new warning.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 2 Jul 2017 23:39:41 +0000 (16:39 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sun, 2 Jul 2017 23:39:41 +0000 (16:39 -0700)
src/gl/gl-adapter.c

index ebcc95b65177660ff264fdb782f51597076b51f6..1fed659f634afb8f43e6e5bf6b9168e71c81c0e8 100644 (file)
@@ -129,6 +129,8 @@ gdk_visual_get_visual_class (GdkVisual *v)
       return (TrueColor);
     case GDK_VISUAL_DIRECT_COLOR:
       return (DirectColor);
+    default:
+      return (-1);
     }
 }