From 1f39b9fae647f27777f15c2e40d4305b90489706 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 30 Apr 2004 15:52:51 +0000 Subject: Changed the int param specs to take a min value of -1 and also defautl to 2004-04-30 Jeffrey Stedfast * 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 --- widgets/table/e-cell-text.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'widgets/table') 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) -- cgit v1.2.3