fepitre / rpms / gtk3

Forked from rpms/gtk3 4 years ago
Clone

Blame SOURCES/gtk3-gir-multilib.patch

f80473
diff -up gtk+-3.8.4/gtk/gtktextattributes.h.multilib gtk+-3.8.4/gtk/gtktextattributes.h
f80473
--- gtk+-3.8.4/gtk/gtktextattributes.h.multilib	2013-11-01 11:37:48.770148541 -0400
f80473
+++ gtk+-3.8.4/gtk/gtktextattributes.h	2013-11-01 11:51:00.708693132 -0400
f80473
@@ -102,12 +102,10 @@ struct _GtkTextAppearance
f80473
   guint inside_selection : 1;
f80473
   guint is_text : 1;
f80473
 
f80473
-  GdkRGBA *rgba[2];
f80473
-
f80473
-#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__)
f80473
-  /* unusable, just for ABI compat */
f80473
-  guint padding[2];
f80473
-#endif
f80473
+  union {
f80473
+    GdkRGBA *rgba[2];
f80473
+    guint padding[4];
f80473
+  };
f80473
 };
f80473
 
f80473
 struct _GtkTextAttributes