fix double-click-crashes
This commit is contained in:
parent
131c22068d
commit
c4e3477e39
12
gtk3-axes.patch
Normal file
12
gtk3-axes.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up gtk+-3.0.1/gdk/gdkevents.c.axes gtk+-3.0.1/gdk/gdkevents.c
|
||||
--- gtk+-3.0.1/gdk/gdkevents.c.axes 2011-02-26 19:18:56.899346816 -0500
|
||||
+++ gtk+-3.0.1/gdk/gdkevents.c 2011-02-26 19:19:07.460214786 -0500
|
||||
@@ -555,6 +555,8 @@ gdk_event_copy (const GdkEvent *event)
|
||||
break;
|
||||
|
||||
case GDK_BUTTON_PRESS:
|
||||
+ case GDK_2BUTTON_PRESS:
|
||||
+ case GDK_3BUTTON_PRESS:
|
||||
case GDK_BUTTON_RELEASE:
|
||||
if (event->button.axes)
|
||||
new_event->button.axes = g_memdup (event->button.axes,
|
@ -11,7 +11,7 @@
|
||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||
Name: gtk3
|
||||
Version: 3.0.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
@ -19,6 +19,9 @@ URL: http://www.gtk.org
|
||||
Source: http://download.gnome.org/sources/gtk+/3.0/gtk+-%{version}.tar.bz2
|
||||
Source1: im-cedilla.conf
|
||||
|
||||
# upstream fix for double-click crashes
|
||||
Patch0: gtk3-axes.patch
|
||||
|
||||
BuildRequires: gnome-common autoconf automake intltool gettext
|
||||
BuildRequires: atk-devel >= %{atk_version}
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
@ -110,6 +113,7 @@ widget toolkit.
|
||||
|
||||
%prep
|
||||
%setup -q -n gtk+-%{version}
|
||||
%patch0 -p1 -b .axes
|
||||
|
||||
%build
|
||||
|
||||
@ -239,6 +243,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
|
||||
%{_datadir}/gtk-doc
|
||||
|
||||
%changelog
|
||||
* Sat Feb 26 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-2
|
||||
- Fix frequent crashes on double-click events
|
||||
|
||||
* Mon Feb 21 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-1
|
||||
- Update to 3.0.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user