Xge: remove warning messages about missing Xge extension event translations

Related rhbz: #1122011
This commit is contained in:
Benjamin Tissoires 2014-07-22 13:19:11 -04:00
parent 638cd8fc50
commit 9abb4bf7d0
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,25 @@
diff --git a/src/Xge.c b/src/Xge.c
index 5c4d72d..2811ae8 100644
--- a/src/Xge.c
+++ b/src/Xge.c
@@ -265,9 +265,6 @@ _xgeWireToEvent(Display* dpy, XEvent* re, xEvent *event)
it = it->next;
}
- fprintf(stderr,
- "_xgeWireToEvent: Unknown extension %d, this should never happen.\n",
- extension);
return False;
}
@@ -295,10 +292,6 @@ _xgeEventToWire(Display* dpy, XEvent* re, xEvent* event)
it = it->next;
}
- fprintf(stderr,
- "_xgeEventToWire: Unknown extension %d, this should never happen.\n",
- extension);
-
return Success;
}

View File

@ -5,7 +5,7 @@
Summary: X.Org X11 libXext runtime library
Name: libXext
Version: 1.3.2
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@ -18,6 +18,8 @@ Source2: commitid
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
%endif
Patch0: Xge-remove-warning-messages-about-missing-Xge-extension-event-translations.patch
Requires: libX11 >= 1.5.99.902
BuildRequires: autoconf automake libtool
@ -41,6 +43,7 @@ X.Org X11 libXext development package
%prep
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
%patch0 -p1
%build
autoreconf -v --install --force
@ -94,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Tue Jul 22 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.3.2-4
- Xge: remove warning messages about missing Xge extension event translations (rhbz #1122011)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild