diff options
-rw-r--r-- | widgets/text/e-text.c | 2 | ||||
-rw-r--r-- | widgets/text/e-text.h | 3 |
2 files changed, 0 insertions, 5 deletions
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 <gtk/gtkmenu.h> -#include <gal/widgets/e-font.h> #include <gal/util/e-text-event-processor.h> #include <gal/e-text/e-text-model.h> #include <gal/widgets/e-canvas.h> @@ -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) */ |