[gtk/matthiasc/for-master: 27/29] eventcontrollermotion: Notify by pspec
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 27/29] eventcontrollermotion: Notify by pspec
- Date: Mon, 30 Nov 2020 14:27:08 +0000 (UTC)
commit ff8de0a93f003f9c3bf6c32777a2055f39094ecf
Author: Timm Bäder <mail baedert org>
Date: Sun Nov 29 09:25:46 2020 +0100
eventcontrollermotion: Notify by pspec
gtk/gtkeventcontrollermotion.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkeventcontrollermotion.c b/gtk/gtkeventcontrollermotion.c
index 8a9a623765..86c38c1048 100644
--- a/gtk/gtkeventcontrollermotion.c
+++ b/gtk/gtkeventcontrollermotion.c
@@ -133,12 +133,12 @@ update_pointer_focus (GtkEventController *controller,
if (motion->is_pointer != is_pointer)
{
motion->is_pointer = is_pointer;
- g_object_notify (G_OBJECT (motion), "is-pointer");
+ g_object_notify_by_pspec (G_OBJECT (motion), props[PROP_IS_POINTER]);
}
if (motion->contains_pointer != contains_pointer)
{
motion->contains_pointer = contains_pointer;
- g_object_notify (G_OBJECT (motion), "contains-pointer");
+ g_object_notify_by_pspec (G_OBJECT (motion), props[PROP_CONTAINS_POINTER]);
}
g_object_thaw_notify (G_OBJECT (motion));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]