Commit f79770ca authored by CEST's avatar CEST Committed by Mikael Hermansson

-)


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 :-)
parent 15af0d7c
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment