X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkliststore.h;h=1e61d5aba4b613db723be8f5e9434e0bbd42e4df;hb=bb3c56abe2e7916126bd4f8234dee080b5381941;hp=8f06b2d5af43bdc8ff3907900b4926a772c60d7c;hpb=fe8a946e876ad50ad70535ab70380c03a4eab58b;p=~andy%2Fgtk diff --git a/gtk/gtkliststore.h b/gtk/gtkliststore.h index 8f06b2d5a..1e61d5aba 100644 --- a/gtk/gtkliststore.h +++ b/gtk/gtkliststore.h @@ -12,18 +12,16 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ -#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #ifndef __GTK_LIST_STORE_H__ #define __GTK_LIST_STORE_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include @@ -38,27 +36,16 @@ G_BEGIN_DECLS #define GTK_IS_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_STORE)) #define GTK_LIST_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_STORE, GtkListStoreClass)) -typedef struct _GtkListStore GtkListStore; -typedef struct _GtkListStoreClass GtkListStoreClass; +typedef struct _GtkListStore GtkListStore; +typedef struct _GtkListStorePrivate GtkListStorePrivate; +typedef struct _GtkListStoreClass GtkListStoreClass; struct _GtkListStore { GObject parent; /*< private >*/ - gint stamp; - gpointer seq; /* head of the list */ - gpointer _gtk_reserved1; - GList *sort_list; - gint n_columns; - gint sort_column_id; - GtkSortType order; - GType *column_headers; - gint length; - GtkTreeIterCompareFunc default_sort_func; - gpointer default_sort_data; - GDestroyNotify default_sort_destroy; - guint columns_dirty : 1; + GtkListStorePrivate *priv; }; struct _GtkListStoreClass