rpms/gtk2/devel gtk-bell.patch,NONE,1.1 gtk2.spec,1.403,1.404

Matthias Clasen mclasen at fedoraproject.org
Mon Sep 14 03:24:00 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gtk2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25201

Modified Files:
	gtk2.spec 
Added Files:
	gtk-bell.patch 
Log Message:
fix the bell


gtk-bell.patch:
 gdkdisplay-x11.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE gtk-bell.patch ---
diff -up gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c.bell gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c
--- gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c.bell	2009-09-13 23:20:20.540275068 -0400
+++ gtk+-2.17.11/gdk/x11/gdkdisplay-x11.c	2009-09-13 23:20:39.649290396 -0400
@@ -691,7 +691,7 @@ gdk_display_beep (GdkDisplay *display)
 {
   g_return_if_fail (GDK_IS_DISPLAY (display));
   
-  XBell (GDK_DISPLAY_XDISPLAY (display), 0);
+  XkbBell (GDK_DISPLAY_XDISPLAY (display), None, 0, None);
 }
 
 /**


Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.403
retrieving revision 1.404
diff -u -p -r1.403 -r1.404
--- gtk2.spec	7 Sep 2009 01:37:18 -0000	1.403
+++ gtk2.spec	14 Sep 2009 03:23:59 -0000	1.404
@@ -17,7 +17,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.17/gtk+-%{version}.tar.bz2
@@ -31,6 +31,7 @@ Patch0: gtk+-2.13.5-lib64.patch
 # from upstream
 Patch1: gtk2-fix-install.patch
 Patch2: root-event-mask.patch
+Patch3: gtk-bell.patch
 
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
@@ -144,6 +145,7 @@ This package contains developer document
 %patch0 -p1 -b .lib64
 %patch1 -p1 -b .fix-install
 %patch2 -p1 -b .root-event-mask
+%patch3 -p1 -b .bell
 
 # make sure that gtkmarshalers.{c, h} get regenerated during the build
 #  - caused by print_authentication.patch
@@ -385,6 +387,9 @@ fi
 
 
 %changelog
+* Sun Sep 13 2009 Matthias Clasen <mclasen at redhat.com> - 2.17.11-3
+- Fix the bell
+
 * Sun Sep  6 2009 Matthias Clasen <mclasen at redhat.com> - 2.17.11-2
 - Fix the initial event mask for the root window (#521137)
 




More information about the scm-commits mailing list