[gtk+/wip/matthiasc/gdk-settings: 10/12] wayland: Stop emitting setting events



commit 5d4c97942508821845a907256a048fe4f9133655
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 30 09:35:45 2017 -0400

    wayland: Stop emitting setting events
    
    Not needed anymore.

 gdk/wayland/gdkscreen-wayland.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 3a60022..5533736 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -115,15 +115,6 @@ static void
 notify_setting (GdkScreen   *screen,
                 const gchar *setting)
 {
-  GdkEvent event;
-
-  event.type = GDK_SETTING;
-  event.setting.window = gdk_screen_get_root_window (screen);
-  event.setting.send_event = FALSE;
-  event.setting.action = GDK_SETTING_ACTION_CHANGED;
-  event.setting.name = (gchar *)setting;
-  gdk_event_put (&event);
-
   gdk_display_setting_changed (gdk_screen_get_display (screen), setting);
 }
 


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