[gtk+/wip/matthiasc/gdk-settings: 3/12] quartz: Emit GdkDisplay::setting-changed



commit 36a94b49c706156769d2e7e4946cd57c70c9fcf2
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 30 09:02:33 2017 -0400

    quartz: Emit GdkDisplay::setting-changed
    
    We still generate the event too.
    That will be removed in a future commit.

 gdk/quartz/gdkevents-quartz.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index b119b35..707d295 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -82,6 +82,8 @@ gdk_quartz_ns_notification_callback (CFNotificationCenterRef  center,
     return;
 
   gdk_event_put (&new_event);
+
+  gdk_display_setting_changed (_gdk_display, new_event.setting.name);
 }
 
 static void


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