Sun Sep 30  07:01:42 2001 CEST <mikeh@bahnhof.se>

    * 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 :-)
This commit is contained in:
CEST 2001-09-30 05:11:09 +00:00 committed by Mikael Hermansson
parent 15af0d7c6a
commit f79770ca69
8 changed files with 47 additions and 40 deletions

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -1,13 +1,14 @@
Sun Sep 30 07:01:42 2001 CEST <mikeh@bahnhof.se>
* 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 <tyan@linux.se>
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
2001-09-29 Alexander Larsson <alla@lysator.liu.se>
* configure.in:
Added build/win32/dirent/Makefile
Sat Sep 29 12:25:26 2001 Manish Singh <yosh@gimp.org>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): typo

View File

@ -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,