Correct the declared default values of several properties to be in sync

2004-07-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
	Correct the declared default values of several properties
	to be in sync with the actual initial values.
This commit is contained in:
Matthias Clasen 2004-07-15 17:48:04 +00:00 committed by Matthias Clasen
parent 2dfc5f45b9
commit 8ceb9a8944
5 changed files with 21 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
Correct the declared default values of several properties
to be in sync with the actual initial values.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
Make spacing a property, correct the declared default values
of several properties to be in sync with the actual initial

View File

@ -1,5 +1,9 @@
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
Correct the declared default values of several properties
to be in sync with the actual initial values.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
Make spacing a property, correct the declared default values
of several properties to be in sync with the actual initial

View File

@ -1,5 +1,9 @@
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
Correct the declared default values of several properties
to be in sync with the actual initial values.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
Make spacing a property, correct the declared default values
of several properties to be in sync with the actual initial

View File

@ -1,5 +1,9 @@
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
Correct the declared default values of several properties
to be in sync with the actual initial values.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
Make spacing a property, correct the declared default values
of several properties to be in sync with the actual initial

View File

@ -113,6 +113,8 @@ gtk_cell_renderer_init (GtkCellRenderer *cell)
cell->xpad = 0;
cell->ypad = 0;
cell->sensitive = TRUE;
cell->is_expander = FALSE;
cell->is_expanded = FALSE;
}
static void
@ -180,7 +182,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("The x-align"),
0.0,
1.0,
0.0,
0.5,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@ -202,7 +204,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("The xpad"),
0,
G_MAXUINT,
2,
0,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@ -213,7 +215,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
P_("The ypad"),
0,
G_MAXUINT,
2,
0,
G_PARAM_READABLE |
G_PARAM_WRITABLE));