* 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 <http://www.gnu.org/licenses/>.
*/
-#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_LIST_STORE_H__
#define __GTK_LIST_STORE_H__
-#include <gdk/gdkconfig.h>
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreesortable.h>
#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 GSEAL (stamp);
- gpointer GSEAL (seq); /* head of the list */
- gpointer GSEAL (_gtk_reserved1);
- GList *GSEAL (sort_list);
- gint GSEAL (n_columns);
- gint GSEAL (sort_column_id);
- GtkSortType GSEAL (order);
- GType *GSEAL (column_headers);
- gint GSEAL (length);
- GtkTreeIterCompareFunc GSEAL (default_sort_func);
- gpointer GSEAL (default_sort_data);
- GtkDestroyNotify GSEAL (default_sort_destroy);
- guint GSEAL (columns_dirty : 1);
+ GtkListStorePrivate *priv;
};
struct _GtkListStoreClass