[gspell] text-view: notify :view property
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] text-view: notify :view property
- Date: Sat, 12 Mar 2016 15:18:50 +0000 (UTC)
commit 76fa06556b9a78a2ce66fb8a3fb9006cd16bd52c
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Mar 12 16:15:39 2016 +0100
text-view: notify :view property
It is not strictly needed, since set_view() is called only in
set_property(), but it's better to have it to be more future-proof, in
case set_view() is called elsewhere. When g_object_notify() is called
from set_property(), the notify signal is anyway just emitted once.
gspell/gspell-text-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gspell/gspell-text-view.c b/gspell/gspell-text-view.c
index e206271..3759d25 100644
--- a/gspell/gspell-text-view.c
+++ b/gspell/gspell-text-view.c
@@ -139,6 +139,8 @@ set_view (GspellTextView *gspell_view,
G_CALLBACK (notify_buffer_cb),
gspell_view,
0);
+
+ g_object_notify (G_OBJECT (gspell_view), "view");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]