]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkaspectframe.h
clamp the value to [lower...upper-page_size] instead of only
[~andy/gtk] / gtk / gtkaspectframe.h
index e85888c6e1d4f16d6be3e496bc189f2725315e59..668c38400835041d27ed79d2242540e3c3dd1598 100644 (file)
  * Modified by the GTK+ Team and others 1997-2001.  See the AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #ifndef __GTK_ASPECT_FRAME_H__
 #define __GTK_ASPECT_FRAME_H__
 
@@ -48,12 +52,12 @@ struct _GtkAspectFrame
 {
   GtkFrame frame;
 
-  gfloat xalign;
-  gfloat yalign;
-  gfloat ratio;
-  gboolean obey_child;
+  gfloat   GSEAL (xalign);
+  gfloat   GSEAL (yalign);
+  gfloat   GSEAL (ratio);
+  gboolean GSEAL (obey_child);
 
-  GtkAllocation center_allocation;
+  GtkAllocation GSEAL (center_allocation);
 };
 
 struct _GtkAspectFrameClass