mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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
This commit is contained in:
parent
21fd434c5f
commit
b572436d35
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
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):
|
||||
|
@ -1,3 +1,14 @@
|
||||
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):
|
||||
|
@ -1,3 +1,14 @@
|
||||
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):
|
||||
|
@ -1,3 +1,14 @@
|
||||
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):
|
||||
|
@ -1,3 +1,14 @@
|
||||
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):
|
||||
|
@ -1,3 +1,14 @@
|
||||
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):
|
||||
|
@ -1,3 +1,14 @@
|
||||
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,10 +576,10 @@ gtk_list_store_iter_parent (GtkTreeModel *tree_model,
|
||||
*
|
||||
**/
|
||||
void
|
||||
gtk_list_store_set_cell (GtkListStore *list_store,
|
||||
GtkTreeIter *iter,
|
||||
gint column,
|
||||
GValue *value)
|
||||
gtk_list_store_set_value (GtkListStore *list_store,
|
||||
GtkTreeIter *iter,
|
||||
gint column,
|
||||
GValue *value)
|
||||
{
|
||||
GtkTreeDataList *list;
|
||||
GtkTreeDataList *prev;
|
||||
@ -713,10 +714,10 @@ gtk_list_store_set_valist (GtkListStore *list_store,
|
||||
break;
|
||||
}
|
||||
|
||||
gtk_list_store_set_cell (list_store,
|
||||
iter,
|
||||
column,
|
||||
&value);
|
||||
gtk_list_store_set_value (list_store,
|
||||
iter,
|
||||
column,
|
||||
&value);
|
||||
|
||||
g_value_unset (&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,10 +597,10 @@ gtk_tree_store_iter_parent (GtkTreeModel *tree_model,
|
||||
* manipulations on it's own.
|
||||
*/
|
||||
void
|
||||
gtk_tree_store_set_cell (GtkTreeStore *tree_store,
|
||||
GtkTreeIter *iter,
|
||||
gint column,
|
||||
GValue *value)
|
||||
gtk_tree_store_set_value (GtkTreeStore *tree_store,
|
||||
GtkTreeIter *iter,
|
||||
gint column,
|
||||
GValue *value)
|
||||
{
|
||||
GtkTreeDataList *list;
|
||||
GtkTreeDataList *prev;
|
||||
@ -733,10 +733,10 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
|
||||
break;
|
||||
}
|
||||
|
||||
gtk_tree_store_set_cell (tree_store,
|
||||
iter,
|
||||
column,
|
||||
&value);
|
||||
gtk_tree_store_set_value (tree_store,
|
||||
iter,
|
||||
column,
|
||||
&value);
|
||||
|
||||
g_value_unset (&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,11 +45,11 @@ typedef enum
|
||||
typedef struct _GtkTreeViewColumn GtkTreeViewColumn;
|
||||
typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass;
|
||||
|
||||
typedef void (* CellDataFunc) (GtkTreeViewColumn *tree_column,
|
||||
GtkCellRenderer *cell,
|
||||
GtkTreeModel *tree_model,
|
||||
GtkTreeIter *iter,
|
||||
gpointer data);
|
||||
typedef void (* GtkCellDataFunc) (GtkTreeViewColumn *tree_column,
|
||||
GtkCellRenderer *cell,
|
||||
GtkTreeModel *tree_model,
|
||||
GtkTreeIter *iter,
|
||||
gpointer data);
|
||||
|
||||
|
||||
struct _GtkTreeViewColumn
|
||||
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user