changeset 13733:8580f628c961

8198649: Switch AWT/Swing's default GTK version to 3 8222496: [8u] Switch on GTK3 as a default GTK L&F in client-libs Reviewed-by: psadhukhan, kaddepalli
author prr
date Fri, 13 Dec 2019 07:26:37 +0000
parents 1d666f78532a
children 121f6d8ba300
files src/solaris/native/sun/awt/gtk_interface.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/sun/awt/gtk_interface.c	Fri Dec 13 07:19:47 2019 +0000
+++ b/src/solaris/native/sun/awt/gtk_interface.c	Fri Dec 13 07:26:37 2019 +0000
@@ -45,18 +45,18 @@
 
 static GtkLib gtk_libs[] = {
     {
+        GTK_3,
+        JNI_LIB_NAME("gtk-3"),
+        VERSIONED_JNI_LIB_NAME("gtk-3", "0"),
+        &gtk3_load,
+        &gtk3_check
+    },
+    {
         GTK_2,
         JNI_LIB_NAME("gtk-x11-2.0"),
         VERSIONED_JNI_LIB_NAME("gtk-x11-2.0", "0"),
         &gtk2_load,
         &gtk2_check
-    },
-    {
-        GTK_3,
-        JNI_LIB_NAME("gtk-3"),
-        VERSIONED_JNI_LIB_NAME("gtk-3", "0"),
-        &gtk3_load,
-        &gtk3_check
     }
 };