Bug 528299 - Eclipse failed to load on PPC64LE platform

Change-Id: I937e069adee673916d25f6bd1365bcedcda9522e
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
index 9dd7efe..19357d1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
@@ -650,7 +650,7 @@
 	long /*int*/ defaultFont;
 	if (GTK.GTK3) {
 		long /*int*/ context = GTK.gtk_widget_get_style_context (shellHandle);
-		if (GTK.GTK_VERSION < OS.VERSION(3, 8, 0)) {
+		if ((GTK.GTK_VERSION < OS.VERSION(3, 8, 0))|| ("ppc64le".equals(System.getProperty("os.arch")))) {
 			defaultFont = GTK.gtk_style_context_get_font (context, GTK.GTK_STATE_FLAG_NORMAL);
 		} else if (GTK.GTK_VERSION >= OS.VERSION(3, 18, 0)) {
 			GTK.gtk_style_context_save(context);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
index f2a8c61..876788b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -3066,7 +3066,7 @@
 	long /*int*/ [] fontDesc = new long /*int*/ [1];
 	if (GTK.GTK3) {
 		long /*int*/ context = GTK.gtk_widget_get_style_context (fontHandle);
-		if (GTK.GTK_VERSION < OS.VERSION(3, 8, 0)) {
+		if ((GTK.GTK_VERSION < OS.VERSION(3, 8, 0) || ("ppc64le".equals(System.getProperty("os.arch"))))) {
 			return GTK.gtk_style_context_get_font(context, GTK.GTK_STATE_FLAG_NORMAL);
 		} else if (GTK.GTK_VERSION >= OS.VERSION(3, 18, 0)) {
 			GTK.gtk_style_context_save(context);