From f79770ca69ddd14d8024cc8ffd1fd72f55047a6e Mon Sep 17 00:00:00 2001 From: CEST Date: Sun, 30 Sep 2001 05:11:09 +0000 Subject: [PATCH] -) Sun Sep 30 07:01:42 2001 CEST * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int and changed from g_value_get_enum to g_value_get_int instead. Probadly a better way to fix the problem :-) --- ChangeLog | 11 ++++++----- ChangeLog.pre-2-0 | 11 ++++++----- ChangeLog.pre-2-10 | 11 ++++++----- ChangeLog.pre-2-2 | 11 ++++++----- ChangeLog.pre-2-4 | 11 ++++++----- ChangeLog.pre-2-6 | 11 ++++++----- ChangeLog.pre-2-8 | 11 ++++++----- gtk/gtkcellrenderertext.c | 10 +++++----- 8 files changed, 47 insertions(+), 40 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 12d5450853..1ffd82b3de 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,13 +1,14 @@ +Sun Sep 30 07:01:42 2001 CEST + + * gtk/gtkcellrenderertext.c I reverted back to old "weight" property code using g_param_spec_int + and changed from g_value_get_enum to g_value_get_int instead. + Probadly a better way to fix the problem :-) + Sun Sep 30 05:31:32 2001 CEST Mikael Hermansson * gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum. -2001-09-29 Alexander Larsson - - * configure.in: - Added build/win32/dirent/Makefile - Sat Sep 29 12:25:26 2001 Manish Singh * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 7939998405..353e4e02e0 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -277,15 +277,15 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) g_object_class_install_property (object_class, PROP_WEIGHT, - g_param_spec_enum ("weight", + g_param_spec_int ("weight", _("Font weight"), _("Font weight"), - PANGO_TYPE_WEIGHT, + 0, + G_MAXINT, PANGO_WEIGHT_NORMAL, G_PARAM_READABLE | G_PARAM_WRITABLE)); - - g_object_class_install_property (object_class, + g_object_class_install_property (object_class, PROP_STRETCH, g_param_spec_enum ("stretch", _("Font stretch"), @@ -939,7 +939,7 @@ gtk_cell_renderer_text_set_property (GObject *object, break; case PROP_WEIGHT: pango_font_description_set_weight (celltext->font, - g_value_get_enum (value)); + g_value_get_int (value)); break; case PROP_STRETCH: pango_font_description_set_stretch (celltext->font,