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/gtktreeselection.h | |
parent | ef069fa0a020e2fbe901fa94d1fc323934ab87fb (diff) | |
download | gtk+-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/gtktreeselection.h')
-rw-r--r-- | gtk/gtktreeselection.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktreeselection.h b/gtk/gtktreeselection.h index 34e8f30009..fd9f78cb77 100644 --- a/gtk/gtktreeselection.h +++ b/gtk/gtktreeselection.h @@ -38,7 +38,7 @@ typedef enum { GTK_TREE_SELECTION_SINGLE, GTK_TREE_SELECTION_MULTI -} GtkTreeSelectionType; +} GtkTreeSelectionMode; typedef gboolean (* GtkTreeSelectionFunc) (GtkTreeSelection *selection, GtkTreeModel *model, @@ -55,7 +55,7 @@ struct _GtkTreeSelection /*< private >*/ GtkTreeView *tree_view; - GtkTreeSelectionType type; + GtkTreeSelectionMode type; GtkTreeSelectionFunc user_func; gpointer user_data; }; @@ -70,8 +70,8 @@ struct _GtkTreeSelectionClass GtkType gtk_tree_selection_get_type (void); -void gtk_tree_selection_set_type (GtkTreeSelection *selection, - GtkTreeSelectionType type); +void gtk_tree_selection_set_mode (GtkTreeSelection *selection, + GtkTreeSelectionMode type); void gtk_tree_selection_set_select_function (GtkTreeSelection *selection, GtkTreeSelectionFunc func, gpointer data); |