diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2021-02-11 17:29:19 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-02-12 21:55:39 +0100 |
commit | 117c55dda3e55d36d869c69f9abb4290b7368500 (patch) | |
tree | 917af9da1f3c6023f89f999d82a886f5c19c8484 /kde-plasma/kde-gtk-config/files/kde-gtk-config-5.20.5-window-decorations-reloaded.patch | |
parent | media-plugins/vdr-graphlcd: fixed broken dosym link (diff) | |
download | gentoo-117c55dda3e55d36d869c69f9abb4290b7368500.tar.gz gentoo-117c55dda3e55d36d869c69f9abb4290b7368500.tar.bz2 gentoo-117c55dda3e55d36d869c69f9abb4290b7368500.zip |
kde-plasma/kde-gtk-config: Don't print debug message
I've noticed that whenever a GTK application is started the
stdout is polluted with the following message:
WINDOW DECORATIONS RELOADED
After some research I came across KDE bug:
https://bugs.kde.org/show_bug.cgi?id=431365
which says the message is a debug message and could be dropped.
In the upstream repository, the following commit was merged which
does exactly that:
https://invent.kde.org/plasma/kde-gtk-config/-/commit/62e272df848d6848482ceb534d14bf36c9fde241.patch
Backport the commit until the version of kde-gtk-config is
bumped.
Closes: https://bugs.gentoo.org/770097
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Closes: https://github.com/gentoo/gentoo/pull/19415
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kde-gtk-config/files/kde-gtk-config-5.20.5-window-decorations-reloaded.patch')
-rw-r--r-- | kde-plasma/kde-gtk-config/files/kde-gtk-config-5.20.5-window-decorations-reloaded.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.20.5-window-decorations-reloaded.patch b/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.20.5-window-decorations-reloaded.patch new file mode 100644 index 000000000000..9b790a03dd16 --- /dev/null +++ b/kde-plasma/kde-gtk-config/files/kde-gtk-config-5.20.5-window-decorations-reloaded.patch @@ -0,0 +1,24 @@ +From 62e272df848d6848482ceb534d14bf36c9fde241 Mon Sep 17 00:00:00 2001 +From: Weng Xuetian <wengxt@gmail.com> +Date: Sat, 9 Jan 2021 19:07:24 -0800 +Subject: [PATCH] Remove debug message to avoid polute to stdout. + +This would break application like zenity which output to stdout. +--- + window-decorations-reload-module/reloader.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/window-decorations-reload-module/reloader.c b/window-decorations-reload-module/reloader.c +index 9e367dc..606bb1f 100644 +--- a/window-decorations-reload-module/reloader.c ++++ b/window-decorations-reload-module/reloader.c +@@ -55,7 +55,6 @@ void manage_css_provider(GFileMonitor *monitor, GFile *file, GFile *other_file, + + void reload_css_provider() + { +- printf("WINDOW DECORATIONS RELOADED\n"); + if (css_provider != NULL) { + remove_css_provider(); + } +-- +GitLab |