aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-04-09 01:09:10 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-04-09 01:09:10 +0800
commit47c282f8c1d98a27df60009668e99266f82b9c99 (patch)
tree3b475838cff62216414ec975da0738892731fbe4
parent74a2482d4a4c9349642b063ecd6f46f77757a746 (diff)
downloadgsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.tar
gsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.tar.gz
gsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.tar.bz2
gsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.tar.lz
gsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.tar.xz
gsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.tar.zst
gsoc2013-evolution-47c282f8c1d98a27df60009668e99266f82b9c99.zip
gal/e-text/e-text.[ch] : break EFont dependency
2003-04-08 Mike Kestner <mkestner@ximian.com> gal/e-text/e-text.[ch] : break EFont dependency svn path=/trunk/; revision=20763
-rw-r--r--widgets/text/e-text.c2
-rw-r--r--widgets/text/e-text.h3
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) */