]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkeventbox.h
move the code of the deprecated gtk_window_set_policy() to a new private
[~andy/gtk] / gtk / gtkeventbox.h
index 5a5586b7d59f2ad1bc1702b42853295973a3948c..78b63e394d433a2f2a036fcc9fdb4ed6476fafb6 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_EVENT_BOX_H__
 #define __GTK_EVENT_BOX_H__
 
 #include <gtk/gtkbin.h>
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
 
 #define GTK_TYPE_EVENT_BOX              (gtk_event_box_get_type ())
 #define GTK_EVENT_BOX(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EVENT_BOX, GtkEventBox))
@@ -66,9 +67,6 @@ gboolean   gtk_event_box_get_above_child    (GtkEventBox *event_box);
 void       gtk_event_box_set_above_child    (GtkEventBox *event_box,
                                             gboolean     above_child);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
 
 #endif /* __GTK_EVENT_BOX_H__ */