From 47c282f8c1d98a27df60009668e99266f82b9c99 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Tue, 8 Apr 2003 17:09:10 +0000 Subject: gal/e-text/e-text.[ch] : break EFont dependency 2003-04-08 Mike Kestner gal/e-text/e-text.[ch] : break EFont dependency svn path=/trunk/; revision=20763 --- widgets/text/e-text.c | 2 -- widgets/text/e-text.h | 3 --- 2 files changed, 5 deletions(-) (limited to 'widgets/text') diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 1ea86dac18..a019b0a8cf 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -663,7 +663,6 @@ e_text_set_property (GObject *object, case PROP_BOLD: text->bold = g_value_get_boolean (value); - text->style = text->bold ? E_FONT_BOLD : E_FONT_PLAIN; text->needs_redraw = 1; text->needs_recalc_bounds = 1; @@ -3490,7 +3489,6 @@ e_text_init (EText *text) text->bold = FALSE; text->strikeout = FALSE; - text->style = E_FONT_PLAIN; text->allow_newlines = TRUE; text->last_type_request = -1; diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index a0224969bb..c535b827a3 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -39,7 +39,6 @@ #include -#include #include #include #include @@ -192,8 +191,6 @@ struct _EText { guint editable : 1; /* Item is editable */ guint editing : 1; /* Item is currently being edited */ - EFontStyle style; - gchar *break_characters; /* Characters to optionally break after */ gint max_lines; /* Max number of lines (-1 = infinite) */ -- cgit v1.2.3