From b8452fdfac8b6b076fc1576a3ee1090cf5f38c75 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 21 Nov 2000 11:16:53 +0000 Subject: use html_engine_is_selection_active added some includes 2000-11-21 Radek Doulik * component/e-summary.c (e_summary_rebuild_page): use html_engine_is_selection_active added some includes svn path=/trunk/; revision=6626 --- executive-summary/ChangeLog | 5 +++++ executive-summary/component/e-summary.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'executive-summary') diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog index 6b3aa16e34..4674ca6635 100644 --- a/executive-summary/ChangeLog +++ b/executive-summary/ChangeLog @@ -1,3 +1,8 @@ +2000-11-21 Radek Doulik + + * component/e-summary.c (e_summary_rebuild_page): use html_engine_is_selection_active + added some includes + 2000-11-11 Matt Bissiri * component/e-summary-factory.c: (control_activate_cb), diff --git a/executive-summary/component/e-summary.c b/executive-summary/component/e-summary.c index 46ea9cbae1..f8de1752be 100644 --- a/executive-summary/component/e-summary.c +++ b/executive-summary/component/e-summary.c @@ -29,7 +29,10 @@ #include #include +#include #include +#include +#include #include #include "e-summary.h" @@ -346,7 +349,7 @@ e_summary_rebuild_page (ESummary *esummary) /* If there is a selection, don't redraw the page so that the selection isn't cleared */ if (GTK_HTML (priv->html)->in_selection == TRUE || - GTK_HTML (priv->html)->engine->active_selection == TRUE) + html_engine_is_selection_active (GTK_HTML (priv->html)->engine) == TRUE) return TRUE; gtk_layout_freeze (GTK_LAYOUT (priv->html)); -- cgit