aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-text
diff options
context:
space:
mode:
authorChris Lahey <clahey@umich.edu>2000-02-28 17:10:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-02-28 17:10:37 +0800
commitef7adb93eb675bab9c648f9a009505b4e4cedb9c (patch)
treebab1439a661c1f41eff4b38a94a4332a7cb6fb21 /widgets/e-text
parent486e3906ec0be1b28f7a5122ff882e894df02f5f (diff)
downloadgsoc2013-evolution-ef7adb93eb675bab9c648f9a009505b4e4cedb9c.tar.gz
gsoc2013-evolution-ef7adb93eb675bab9c648f9a009505b4e4cedb9c.tar.zst
gsoc2013-evolution-ef7adb93eb675bab9c648f9a009505b4e4cedb9c.zip
Compilation error.
2000-02-28 Chris Lahey <clahey@umich.edu> * widgets/e-text/e-text.c: Compilation error. svn path=/trunk/; revision=1973
Diffstat (limited to 'widgets/e-text')
-rw-r--r--widgets/e-text/e-text.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/widgets/e-text/e-text.c b/widgets/e-text/e-text.c
index 74cbf0fe8b..8bb19728c1 100644
--- a/widgets/e-text/e-text.c
+++ b/widgets/e-text/e-text.c
@@ -738,8 +738,6 @@ split_into_lines (EText *text)
if (len == 0)
lines->text = p;
lines->length = strlen(lines->text);
-
- calc_line_widths (text);
}
/* Convenience function to set the text's GC's foreground color */
@@ -1149,6 +1147,7 @@ e_text_update (GnomeCanvasItem *item, double *affine, ArtSVP *clip_path, int fla
}
if ( text->needs_redraw ) {
gnome_canvas_request_redraw (item->canvas, item->x1, item->y1, item->x2, item->y2);
+ text->needs_redraw = 0;
}
}
@@ -1914,10 +1913,10 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event)
}
}
if ( text->line_wrap )
- split_into_lines (text);
+ text->needs_split_into_lines = 1;
else
- calc_line_widths (text);
- recalc_bounds (text);
+ text->needs_calc_line_widths = 1;
+ gnome_canvas_item_request_update (GNOME_CANVAS_ITEM(text));
}
return_val = 0;
break;
@@ -2183,8 +2182,8 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp
text->selection_end = _get_position(text, command);
}
_delete_selection(text);
- split_into_lines (text);
- recalc_bounds (text);
+ text->needs_split_into_lines = 1;
+ gnome_canvas_item_request_update (GNOME_CANVAS_ITEM(text));
if (text->timer) {
g_timer_reset(text->timer);
}
@@ -2195,8 +2194,8 @@ e_text_command(ETextEventProcessor *tep, ETextEventProcessorCommand *command, gp
_delete_selection(text);
}
_insert(text, command->string, command->value);
- split_into_lines (text);
- recalc_bounds (text);
+ text->needs_split_into_lines = 1;
+ gnome_canvas_item_request_update (GNOME_CANVAS_ITEM(text));
if (text->timer) {
g_timer_reset(text->timer);
}
bae84912fb7c1c34067b'>Update to KDE 3.5.8lofi2007-10-302-3/+4 * Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-042-4/+3 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * Use gstreamer-0.10.lofi2007-04-221-8/+4 * Revert change from PR 111440 - juk in fact still does not supportlofi2007-04-171-2/+7 * Depend on current libtunepimp.lofi2007-04-151-7/+4 * Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-142-4/+4 * Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-201-3/+3 * Prevent libtunepimp and libtunepimp-old from clobbering each other'slofi2006-09-132-5/+9 * Fix dependency to libtunepimp-oldarved2006-08-141-1/+2 * Update to KDE 3.5.3lofi2006-06-062-4/+3 * Depends on gstreamer80 for nowlofi2006-05-171-2/+2 * Juk's configure check for tunepimp 0.4 is broken - and I would've never noticedlofi2006-04-131-1/+5 * Respect ${MAKE_ENV} (in order to make uic behave).lofi2006-04-071-3/+3 * Chase libtunepimp update.ehaupt2006-04-061-0/+1 * Update to KDE 3.5.2lofi2006-03-312-4/+4 * Conversion to a single libtool environment.ade2006-02-231-1/+1