Blame SOURCES/satyr-0.13-normalization-additional-X-GDK-functions.patch

f41043
From e436cd0b6eb389e6803b8b519e936429e694e453 Mon Sep 17 00:00:00 2001
f41043
From: Martin Milata <mmilata@redhat.com>
f41043
Date: Fri, 28 Nov 2014 17:59:45 +0100
f41043
Subject: [PATCH] normalization: additional X/GDK functions
f41043
f41043
Closes #199.
f41043
f41043
Signed-off-by: Martin Milata <mmilata@redhat.com>
f41043
---
f41043
 lib/normalize.c | 7 +++++--
f41043
 1 file changed, 5 insertions(+), 2 deletions(-)
f41043
f41043
diff --git a/lib/normalize.c b/lib/normalize.c
f41043
index 81be188..0e9b497 100644
f41043
--- a/lib/normalize.c
f41043
+++ b/lib/normalize.c
f41043
@@ -100,7 +100,8 @@ is_removable_gdk(const char *function_name,
f41043
         call_match(function_name, source_file, "gdk_x_error", "gdkmain-x11.c", NULL) ||
f41043
         call_match(function_name, source_file, "gdk_threads_dispatch", "gdk.c", NULL) ||
f41043
         call_match(function_name, source_file, "gdk_event_dispatch", "gdkevents-x11.c", "gdkevents.c", NULL) ||
f41043
-        call_match(function_name, source_file, "gdk_event_source_dispatch", "gdkeventsource.c", NULL);
f41043
+        call_match(function_name, source_file, "gdk_event_source_dispatch", "gdkeventsource.c", NULL) ||
f41043
+        call_match(function_name, source_file, "_gdk_x11_display_error_event", "gdkdisplay-x11.c", "libgdk", NULL);
f41043
 }
f41043
 
f41043
 static bool
f41043
@@ -170,7 +171,9 @@ is_removable_xorg(const char *function_name,
f41043
         call_match(function_name, source_file, "AbortServer", "log.c", NULL) ||
f41043
         call_match(function_name, source_file, "AbortDDX", "xf86Init.c", NULL) ||
f41043
         call_match(function_name, source_file, "ddxGiveUp", "xf86Init.c", NULL) ||
f41043
-        call_match(function_name, source_file, "OsAbort", "utils.c", NULL);
f41043
+        call_match(function_name, source_file, "OsAbort", "utils.c", NULL) ||
f41043
+        call_match(function_name, source_file, "handle_error", "xcb_io.c", "libX11", NULL) ||
f41043
+        call_match(function_name, source_file, "handle_response", "xcb_io.c", "libX11", NULL);
f41043
 }
f41043
 
f41043
 static bool
f41043
-- 
f41043
1.8.3.1
f41043