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/gtkcellrenderer.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/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 2b16126920..3bdc0cc287 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -30,10 +30,10 @@ extern "C" { typedef enum { - GTK_CELL_RENDERER_SELECTED = 1 << 0, - GTK_CELL_RENDERER_PRELIT = 1 << 1, + GTK_CELL_RENDERER_SELECTED = 1 << 0, + GTK_CELL_RENDERER_PRELIT = 1 << 1, GTK_CELL_RENDERER_INSENSITIVE = 1 << 2 -} GtkCellRendererType; +} GtkCellRendererState; #define GTK_TYPE_CELL_RENDERER (gtk_cell_renderer_get_type ()) #define GTK_CELL_RENDERER(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRenderer)) |