New function.

Sat Aug 14 17:56:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function.

	* gtk/gtkentry.c (in_selection): New function using
	gtk_entry_get_pixel_ranges() to determine whether a click is in
	the selection. Improve entry behavior wrt. dragging and
	selecting. Bug #143249.

Sat Aug 14 17:53:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* configure.in: Require glib 2.5.2

	* gtk/gtksequence.[ch]: New internal data structure.

	* gtk/gtkliststore.[hc]: Reimplement in terms of new data
	structure

	* tests/Makefile.am (testtreemodel_SOURCES):
	* tests/testtreemodel.c: New test program written by Matthias.
This commit is contained in:
Soeren Sandmann
2004-08-14 15:59:39 +00:00
committed by Søren Sandmann Pedersen
parent 766d78659c
commit 15ed3634a9
13 changed files with 1904 additions and 893 deletions

View File

@ -43,14 +43,14 @@ struct _GtkListStore
/*< private >*/
gint stamp;
gpointer root;
gpointer tail;
GList *sort_list;
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;
gint _gtk_reserved2;
GtkTreeIterCompareFunc default_sort_func;
gpointer default_sort_data;
GtkDestroyNotify default_sort_destroy;