[gtk+/wip/matthiasc/gdk-settings: 11/12] x11: Stop emitting settings events
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/gdk-settings: 11/12] x11: Stop emitting settings events
- Date: Mon, 30 Oct 2017 13:50:45 +0000 (UTC)
commit 7e8e4dcf76785c4193c660876846c077a226da80
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 30 09:36:01 2017 -0400
x11: Stop emitting settings events
Not needed anymore.
gdk/x11/xsettings-client.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/gdk/x11/xsettings-client.c b/gdk/x11/xsettings-client.c
index 88ad15a..c52e8a0 100644
--- a/gdk/x11/xsettings-client.c
+++ b/gdk/x11/xsettings-client.c
@@ -66,19 +66,6 @@ gdk_xsettings_notify (GdkX11Screen *x11_screen,
const char *name,
GdkSettingAction action)
{
- GdkEvent new_event;
-
- if (!g_str_has_prefix (name, "gtk-"))
- return;
-
- new_event.type = GDK_SETTING;
- new_event.setting.window = gdk_screen_get_root_window (GDK_SCREEN (x11_screen));
- new_event.setting.send_event = FALSE;
- new_event.setting.action = action;
- new_event.setting.name = (char*) name;
-
- gdk_event_put (&new_event);
-
gdk_display_setting_changed (gdk_screen_get_display (GDK_SCREEN (x11_screen)), name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]