Ryujinx-GtkSharp/sources/gtktextattributes-gi-scanner.patch
Mikkel Kruse Johnsen d33628d632 Updated to Gtk 3.12
2014-11-03 15:52:55 +01:00

30 lines
816 B
Diff

--- gtk+-3.12.0/gtk/gtktextattributes.h 2014-03-24 18:28:56.000000000 +0100
+++ gtk+-3.12.0.new/gtk/gtktextattributes.h 2014-06-10 13:49:44.619905956 +0200
@@ -112,26 +112,12 @@
guint inside_selection : 1;
guint is_text : 1;
- /* For the sad story of this bit of code, see
- * https://bugzilla.gnome.org/show_bug.cgi?id=711158
- */
-#ifdef __GI_SCANNER__
- /* The scanner should only see the transparent union, so that its
- * content does not vary across architectures.
- */
- union {
- GdkRGBA *rgba[2];
- /*< private >*/
- guint padding[4];
- };
-#else
GdkRGBA *rgba[2];
#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__)
/* unusable, just for ABI compat */
/*< private >*/
guint padding[2];
#endif
-#endif
};
/**