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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
......
......@@ -225,6 +225,7 @@ gtk_list_store_init (GtkListStore *list_store)
list_store->sort_list = NULL;
list_store->stamp = g_random_int ();
list_store->length = 0;
list_store->sort_column_id = -1;
}
/**
......@@ -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
* @iter: iterator for the row you're modifying
* @column: column number to modify
......@@ -575,7 +576,7 @@ gtk_list_store_iter_parent (GtkTreeModel *tree_model,
*
**/
void
gtk_list_store_set_cell (GtkListStore *list_store,
gtk_list_store_set_value (GtkListStore *list_store,
GtkTreeIter *iter,
gint column,
GValue *value)
......@@ -713,7 +714,7 @@ gtk_list_store_set_valist (GtkListStore *list_store,
break;
}
gtk_list_store_set_cell (list_store,
gtk_list_store_set_value (list_store,
iter,
column,
&value);
......
......@@ -55,20 +55,6 @@ struct _GtkListStore
struct _GtkListStoreClass
{
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,
void gtk_list_store_set_column_type (GtkListStore *store,
gint column,
GType type);
void gtk_list_store_set_cell (GtkListStore *store,
void gtk_list_store_set_value (GtkListStore *store,
GtkTreeIter *iter,
gint column,
GValue *value);
......
......@@ -597,7 +597,7 @@ gtk_tree_store_iter_parent (GtkTreeModel *tree_model,
* manipulations on it's own.
*/
void
gtk_tree_store_set_cell (GtkTreeStore *tree_store,
gtk_tree_store_set_value (GtkTreeStore *tree_store,
GtkTreeIter *iter,
gint column,
GValue *value)
......@@ -733,7 +733,7 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
break;
}
gtk_tree_store_set_cell (tree_store,
gtk_tree_store_set_value (tree_store,
iter,
column,
&value);
......
......@@ -64,7 +64,7 @@ void gtk_tree_store_set_n_columns (GtkTreeStore *tree_store,
void gtk_tree_store_set_column_type (GtkTreeStore *store,
gint column,
GType type);
void gtk_tree_store_set_cell (GtkTreeStore *tree_store,
void gtk_tree_store_set_value (GtkTreeStore *tree_store,
GtkTreeIter *iter,
gint column,
GValue *value);
......
......@@ -778,7 +778,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
**/
void
gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column,
CellDataFunc func,
GtkCellDataFunc func,
gpointer func_data,
GtkDestroyNotify destroy)
{
......
......@@ -45,7 +45,7 @@ typedef enum
typedef struct _GtkTreeViewColumn GtkTreeViewColumn;
typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass;
typedef void (* CellDataFunc) (GtkTreeViewColumn *tree_column,
typedef void (* GtkCellDataFunc) (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
......@@ -71,7 +71,7 @@ struct _GtkTreeViewColumn
gint max_width;
gint displayed_width;
CellDataFunc func;
GtkCellDataFunc func;
gpointer func_data;
GtkDestroyNotify destroy;
gchar *title;
......@@ -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_cell_data_func (GtkTreeViewColumn *tree_column,
CellDataFunc func,
GtkCellDataFunc func,
gpointer func_data,
GtkDestroyNotify destroy);
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