[gspell/wip/current-word-policy] Entry: cursor moved on button press



commit de62d860a3f1ad8bf396d9964a482103c7f28a72
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Dec 21 15:14:52 2016 +0100

    Entry: cursor moved on button press

 gspell/gspell-entry.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gspell/gspell-entry.c b/gspell/gspell-entry.c
index d08336d..e5306af 100644
--- a/gspell/gspell-entry.c
+++ b/gspell/gspell-entry.c
@@ -536,6 +536,10 @@ button_press_event_cb (GtkEntry       *gtk_entry,
                        _gspell_entry_utils_get_char_position_at_event (gtk_entry, event);
        }
 
+       g_message ("%s", G_STRFUNC);
+       _gspell_current_word_policy_cursor_moved (gspell_entry->current_word_policy);
+       emit_changed_signal (gspell_entry);
+
        return GDK_EVENT_PROPAGATE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]