diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-07-15 17:48:04 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-07-15 17:48:04 +0000 |
commit | 8ceb9a8944f4a0cbab73d700fd3d9171d8044323 (patch) | |
tree | 8d53edc4b5d2615fb43b7c15faf35e9a15ee423b /gtk/gtkcellrenderer.c | |
parent | 2dfc5f45b9f6c5f9262a5cfb007826ec3cd3a277 (diff) | |
download | gtk+-8ceb9a8944f4a0cbab73d700fd3d9171d8044323.tar.gz |
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.
Diffstat (limited to 'gtk/gtkcellrenderer.c')
-rw-r--r-- | gtk/gtkcellrenderer.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index 345766d5e0..c6d7fd3052 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -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)); |