diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-30 23:52:51 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-30 23:52:51 +0800 |
commit | 1f39b9fae647f27777f15c2e40d4305b90489706 (patch) | |
tree | 2c1c83593125d7e407cc6d35336191a927232e78 | |
parent | f149f360e1445dc5e651425e8a645985d2a76a57 (diff) | |
download | gsoc2013-evolution-1f39b9fae647f27777f15c2e40d4305b90489706.tar.gz gsoc2013-evolution-1f39b9fae647f27777f15c2e40d4305b90489706.tar.zst gsoc2013-evolution-1f39b9fae647f27777f15c2e40d4305b90489706.zip |
Changed the int param specs to take a min value of -1 and also defautl to
2004-04-30 Jeffrey Stedfast <fejj@ximian.com>
* e-cell-text.c (e_cell_text_class_init): Changed the int param
specs to take a min value of -1 and also defautl to -1 (-1 means
off and they should all default to the same value that they
default to in the init() function). Needed to fix bug #57304.
svn path=/trunk/; revision=25713
-rw-r--r-- | widgets/table/e-cell-text.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index d86d9a0f21..0b80b42534 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -1706,28 +1706,28 @@ e_cell_text_class_init (GObjectClass *object_class) g_param_spec_int ("strikeout_column", _("Strikeout Column"), /*_( */"XXX blurb" /*)*/, - 0, G_MAXINT, 0, + -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_UNDERLINE_COLUMN, g_param_spec_int ("underline_column", _("Underline Column"), /*_( */"XXX blurb" /*)*/, - 0, G_MAXINT, 0, + -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_BOLD_COLUMN, g_param_spec_int ("bold_column", _("Bold Column"), /*_( */"XXX blurb" /*)*/, - 0, G_MAXINT, 0, + -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_COLOR_COLUMN, g_param_spec_int ("color_column", _("Color Column"), /*_( */"XXX blurb" /*)*/, - 0, G_MAXINT, 0, + -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, @@ -1741,7 +1741,7 @@ e_cell_text_class_init (GObjectClass *object_class) g_param_spec_int ("bg_color_column", _("BG Color Column"), /*_( */"XXX blurb" /*)*/, - 0, G_MAXINT, 0, + -1, G_MAXINT, -1, G_PARAM_READWRITE)); if (!clipboard_atom) |