diff options
author | Havoc Pennington <hp@redhat.com> | 2001-01-04 21:33:24 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-01-04 21:33:24 +0000 |
commit | c020b3b4f87fa978a6706e9b98faa5f522d6b002 (patch) | |
tree | 29e938e04b26f04b98139a83c8a1fa3c67673ee0 /gtk/gtktreeviewcolumn.c | |
parent | ef069fa0a020e2fbe901fa94d1fc323934ab87fb (diff) | |
download | gdk-pixbuf-c020b3b4f87fa978a6706e9b98faa5f522d6b002.tar.gz |
Rename some stuff:
2001-01-04 Havoc Pennington <hp@redhat.com>
Rename some stuff:
s/gtk_tree_view_column_set_size/gtk_tree_view_column_set_width/g;
s/GtkModelSimple/GtkTreeModelSimple/g;
s/GTK_MODEL_SIMPLE/GTK_TREE_MODEL_SIMPLE/g;
s/gtk_model_simple/gtk_tree_model_simple/g;
s/gtkmodelsimple/gtktreemodelsimple/g;
s/gtk_tree_view_column_set_header_active/gtk_tree_view_column_set_header_clickable/g;
s/GtkTreeViewColumnType/GtkTreeViewColumnSizing/g;
s/column_set_col_type/column_set_sizing/g;
s/GtkTreeSelectionType/GtkTreeSelectionMode/g;
s/gtk_tree_selection_set_type/gtk_tree_selection_set_mode/g;
s/GtkCellRendererType/GtkCellRendererState/g;
* gtk/gtkcellrenderertoggle.c: remove _ macro, include gtkintl.h
(gtk_cell_renderer_toggle_class_init): change "state" property to
"active", to match GtkToggleButton
(gtk_cell_renderer_toggle_get_active): new function, bug
40269
(gtk_cell_renderer_toggle_set_active): new function
(gtk_cell_renderer_toggle_set_property): route changes to toggle
state through gtk_cell_renderer_set_active
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 9d1676118..1c96161b9 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -401,15 +401,15 @@ gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column) } /** - * gtk_tree_view_column_set_col_type: + * gtk_tree_view_column_set_sizing: * @tree_column: A #GtkTreeViewColumn. - * @type: The #GtkTreeViewColumnType. + * @type: The #GtkTreeViewColumnSizing. * * Sets the growth behavior of @tree_column to @type. **/ void -gtk_tree_view_column_set_col_type (GtkTreeViewColumn *tree_column, - GtkTreeViewColumnType type) +gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column, + GtkTreeViewColumnSizing type) { g_return_if_fail (tree_column != NULL); g_return_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column)); @@ -473,7 +473,7 @@ gtk_tree_view_column_get_size (GtkTreeViewColumn *tree_column) } /** - * gtk_tree_view_column_set_size: + * gtk_tree_view_column_set_width: * @tree_column: A #GtkTreeViewColumn. * @size: The size to set the @tree_column to. * @@ -482,7 +482,7 @@ gtk_tree_view_column_get_size (GtkTreeViewColumn *tree_column) * size of the column is based on the calculated width of the column. **/ void -gtk_tree_view_column_set_size (GtkTreeViewColumn *tree_column, +gtk_tree_view_column_set_width (GtkTreeViewColumn *tree_column, gint size) { g_return_if_fail (tree_column != NULL); @@ -681,7 +681,7 @@ gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column) } /** - * gtk_tree_view_column_set_header_active: + * gtk_tree_view_column_set_header_clickable: * @tree_column: A #GtkTreeViewColumn. * @active: TRUE if the header is active. * @@ -689,7 +689,7 @@ gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column) * then it can take keyboard focus, and can be clicked. **/ void -gtk_tree_view_column_set_header_active (GtkTreeViewColumn *tree_column, +gtk_tree_view_column_set_header_clickable (GtkTreeViewColumn *tree_column, gboolean active) { g_return_if_fail (tree_column != NULL); |