]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtklistitem.h
Revert name change
[~andy/gtk] / gtk / gtklistitem.h
index 06520b9c76af4d115fdc2b94937621386e7e47a2..545765d047e1e73db3769a8b3cf6bcde1de415a2 100644 (file)
  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
  */
 
+#ifndef GTK_DISABLE_DEPRECATED
+
 #ifndef __GTK_LIST_ITEM_H__
 #define __GTK_LIST_ITEM_H__
 
-
-#include <gdk/gdk.h>
-#include <gtk/gtkitem.h>
+#include <gtk/gtk.h>
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
 
 
 #define GTK_TYPE_LIST_ITEM              (gtk_list_item_get_type ())
@@ -77,7 +75,7 @@ struct _GtkListItemClass
 };
 
 
-GtkType    gtk_list_item_get_type       (void);
+GtkType    gtk_list_item_get_type       (void) G_GNUC_CONST;
 GtkWidget* gtk_list_item_new            (void);
 GtkWidget* gtk_list_item_new_with_label (const gchar      *label);
 void       gtk_list_item_select         (GtkListItem      *list_item);
@@ -85,10 +83,9 @@ void       gtk_list_item_deselect       (GtkListItem      *list_item);
 
 
 
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 
 #endif /* __GTK_LIST_ITEM_H__ */
+
+#endif /* GTK_DISABLE_DEPRECATED */