[almanah] Ensure spell checking highlights are completely drawn over when changing day
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [almanah] Ensure spell checking highlights are completely drawn over when changing day
- Date: Sun, 18 Apr 2010 15:21:26 +0000 (UTC)
commit cc3633a704db56900e9960afb1e2c25bcea86e3c
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Apr 18 16:20:52 2010 +0100
Ensure spell checking highlights are completely drawn over when changing day
src/main-window.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index 5832b5f..5d93547 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -1063,8 +1063,10 @@ mw_calendar_day_selected_cb (GtkCalendar *calendar, AlmanahMainWindow *main_wind
#ifdef ENABLE_SPELL_CHECKING
/* Ensure the spell-checking is updated */
gtkspell = gtkspell_get_from_text_view (priv->entry_view);
- if (gtkspell)
+ if (gtkspell != NULL) {
gtkspell_recheck_all (gtkspell);
+ gtk_widget_queue_draw (GTK_WIDGET (priv->entry_view));
+ }
#endif /* ENABLE_SPELL_CHECKING */
/* List the entry's events */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]