]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkrc.h
Bug 546756 – gnome-panel crashed with SIGSEGV in
[~andy/gtk] / gtk / gtkrc.h
index c6880af272ed81d62da8301beefff31b4ae432bb..1ca2d33138cad74304db0eff0aa931bf3f10a46e 100644 (file)
  * Modified by the GTK+ Team and others 1997-2000.  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_RC_H__
 #define __GTK_RC_H__
 
@@ -58,7 +62,7 @@ struct _GtkRcStyle
   GObject parent_instance;
 
   /*< public >*/
-  
+
   gchar *name;
   gchar *bg_pixmap_name[5];
   PangoFontDescription *font_desc;
@@ -74,7 +78,7 @@ struct _GtkRcStyle
 
   /*< private >*/
   GArray *rc_properties;
-  
+
   /* list of RC style lists including this RC style */
   GSList *rc_style_lists;
 
@@ -101,7 +105,7 @@ struct _GtkRcStyleClass
   guint     (*parse)  (GtkRcStyle   *rc_style,
                       GtkSettings  *settings,
                       GScanner     *scanner);
-  
+
   /* Combine RC style data from src into dest. If overridden, this
    * function should chain to the parent.
    */