]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktextattributes.h
filechooserbutton: Add tests for unselect_all()
[~andy/gtk] / gtk / gtktextattributes.h
index 12c1af70637b7b7d8d3c9af481d5fda3356b81b5..521ac00703f0c78acbec6c9cac66d29f8ae5a70f 100644 (file)
  *
  */
 
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
 #ifndef __GTK_TEXT_ATTRIBUTES_H__
 #define __GTK_TEXT_ATTRIBUTES_H__
 
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #include <gdk/gdk.h>
 #include <gtk/gtkenums.h>
 
@@ -104,7 +104,7 @@ struct _GtkTextAppearance
 
   GdkRGBA *rgba[2];
 
-#if __SIZEOF_INT__ == __SIZEOF_POINTER__
+#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__)
   /* unusable, just for ABI compat */
   guint padding[2];
 #endif