Commit b572436d authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

Forgot to namespace this.

Fri Mar 23 16:13:43 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
	this.

	* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
	set_cell to set_value

	* gtk/gtkliststore.c (gtk_list_store_set_value): change from
	set_cell to set_value
parent 21fd434c
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
Fri Mar 23 16:13:43 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
this.
* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
set_cell to set_value
* gtk/gtkliststore.c (gtk_list_store_set_value): change from
set_cell to set_value
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
...@@ -225,6 +225,7 @@ gtk_list_store_init (GtkListStore *list_store) ...@@ -225,6 +225,7 @@ gtk_list_store_init (GtkListStore *list_store)
list_store->sort_list = NULL; list_store->sort_list = NULL;
list_store->stamp = g_random_int (); list_store->stamp = g_random_int ();
list_store->length = 0; list_store->length = 0;
list_store->sort_column_id = -1;
} }
/** /**
...@@ -563,7 +564,7 @@ gtk_list_store_iter_parent (GtkTreeModel *tree_model, ...@@ -563,7 +564,7 @@ gtk_list_store_iter_parent (GtkTreeModel *tree_model,
*/ */
/** /**
* gtk_list_store_set_cell: * gtk_list_store_set_value:
* @store: a #GtkListStore * @store: a #GtkListStore
* @iter: iterator for the row you're modifying * @iter: iterator for the row you're modifying
* @column: column number to modify * @column: column number to modify
...@@ -575,10 +576,10 @@ gtk_list_store_iter_parent (GtkTreeModel *tree_model, ...@@ -575,10 +576,10 @@ gtk_list_store_iter_parent (GtkTreeModel *tree_model,
* *
**/ **/
void void
gtk_list_store_set_cell (GtkListStore *list_store, gtk_list_store_set_value (GtkListStore *list_store,
GtkTreeIter *iter, GtkTreeIter *iter,
gint column, gint column,
GValue *value) GValue *value)
{ {
GtkTreeDataList *list; GtkTreeDataList *list;
GtkTreeDataList *prev; GtkTreeDataList *prev;
...@@ -713,10 +714,10 @@ gtk_list_store_set_valist (GtkListStore *list_store, ...@@ -713,10 +714,10 @@ gtk_list_store_set_valist (GtkListStore *list_store,
break; break;
} }
gtk_list_store_set_cell (list_store, gtk_list_store_set_value (list_store,
iter, iter,
column, column,
&value); &value);
g_value_unset (&value); g_value_unset (&value);
......
...@@ -55,20 +55,6 @@ struct _GtkListStore ...@@ -55,20 +55,6 @@ struct _GtkListStore
struct _GtkListStoreClass struct _GtkListStoreClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* signals */
/* Will be moved into the GtkTreeModelIface eventually */
void (* changed) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* inserted) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* has_child_toggled) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* deleted) (GtkTreeModel *tree_model,
GtkTreePath *path);
}; };
...@@ -81,7 +67,7 @@ void gtk_list_store_set_n_columns (GtkListStore *store, ...@@ -81,7 +67,7 @@ void gtk_list_store_set_n_columns (GtkListStore *store,
void gtk_list_store_set_column_type (GtkListStore *store, void gtk_list_store_set_column_type (GtkListStore *store,
gint column, gint column,
GType type); GType type);
void gtk_list_store_set_cell (GtkListStore *store, void gtk_list_store_set_value (GtkListStore *store,
GtkTreeIter *iter, GtkTreeIter *iter,
gint column, gint column,
GValue *value); GValue *value);
......
...@@ -597,10 +597,10 @@ gtk_tree_store_iter_parent (GtkTreeModel *tree_model, ...@@ -597,10 +597,10 @@ gtk_tree_store_iter_parent (GtkTreeModel *tree_model,
* manipulations on it's own. * manipulations on it's own.
*/ */
void void
gtk_tree_store_set_cell (GtkTreeStore *tree_store, gtk_tree_store_set_value (GtkTreeStore *tree_store,
GtkTreeIter *iter, GtkTreeIter *iter,
gint column, gint column,
GValue *value) GValue *value)
{ {
GtkTreeDataList *list; GtkTreeDataList *list;
GtkTreeDataList *prev; GtkTreeDataList *prev;
...@@ -733,10 +733,10 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store, ...@@ -733,10 +733,10 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
break; break;
} }
gtk_tree_store_set_cell (tree_store, gtk_tree_store_set_value (tree_store,
iter, iter,
column, column,
&value); &value);
g_value_unset (&value); g_value_unset (&value);
......
...@@ -64,7 +64,7 @@ void gtk_tree_store_set_n_columns (GtkTreeStore *tree_store, ...@@ -64,7 +64,7 @@ void gtk_tree_store_set_n_columns (GtkTreeStore *tree_store,
void gtk_tree_store_set_column_type (GtkTreeStore *store, void gtk_tree_store_set_column_type (GtkTreeStore *store,
gint column, gint column,
GType type); GType type);
void gtk_tree_store_set_cell (GtkTreeStore *tree_store, void gtk_tree_store_set_value (GtkTreeStore *tree_store,
GtkTreeIter *iter, GtkTreeIter *iter,
gint column, gint column,
GValue *value); GValue *value);
......
...@@ -778,7 +778,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, ...@@ -778,7 +778,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
**/ **/
void void
gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column, gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column,
CellDataFunc func, GtkCellDataFunc func,
gpointer func_data, gpointer func_data,
GtkDestroyNotify destroy) GtkDestroyNotify destroy)
{ {
......
...@@ -45,11 +45,11 @@ typedef enum ...@@ -45,11 +45,11 @@ typedef enum
typedef struct _GtkTreeViewColumn GtkTreeViewColumn; typedef struct _GtkTreeViewColumn GtkTreeViewColumn;
typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass; typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass;
typedef void (* CellDataFunc) (GtkTreeViewColumn *tree_column, typedef void (* GtkCellDataFunc) (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell, GtkCellRenderer *cell,
GtkTreeModel *tree_model, GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
gpointer data); gpointer data);
struct _GtkTreeViewColumn struct _GtkTreeViewColumn
...@@ -71,7 +71,7 @@ struct _GtkTreeViewColumn ...@@ -71,7 +71,7 @@ struct _GtkTreeViewColumn
gint max_width; gint max_width;
gint displayed_width; gint displayed_width;
CellDataFunc func; GtkCellDataFunc func;
gpointer func_data; gpointer func_data;
GtkDestroyNotify destroy; GtkDestroyNotify destroy;
gchar *title; gchar *title;
...@@ -107,7 +107,7 @@ void gtk_tree_view_column_add_attribute (GtkTreeViewColumn ...@@ -107,7 +107,7 @@ void gtk_tree_view_column_add_attribute (GtkTreeViewColumn
void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
...); ...);
void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column,
CellDataFunc func, GtkCellDataFunc func,
gpointer func_data, gpointer func_data,
GtkDestroyNotify destroy); GtkDestroyNotify destroy);
void gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment