diff --git a/flash-swarm.patch b/flash-swarm.patch new file mode 100644 index 0000000..659dd22 --- /dev/null +++ b/flash-swarm.patch @@ -0,0 +1,12 @@ +diff -up gtk+-2.13.7/gdk/x11/gdkwindow-x11.c.flash-swarm gtk+-2.13.7/gdk/x11/gdkwindow-x11.c +--- gtk+-2.13.7/gdk/x11/gdkwindow-x11.c.flash-swarm 2008-08-25 18:14:28.000000000 -0400 ++++ gtk+-2.13.7/gdk/x11/gdkwindow-x11.c 2008-08-25 18:14:57.000000000 -0400 +@@ -1830,7 +1830,7 @@ gdk_window_x11_reparent (GdkWindow *wind + parent_private->children = g_list_prepend (parent_private->children, window); + _gdk_window_init_position (GDK_WINDOW (window_private)); + +- return TRUE; ++ return FALSE; + } + + static void diff --git a/gtk2.spec b/gtk2.spec index e7b54b5..eb3dc5b 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -16,7 +16,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.13/gtk+-%{version}.tar.bz2 @@ -32,6 +32,7 @@ Patch1: gtk+-2.11.1-set-invisible-char-to-bullet.patch Patch2: workaround.patch # from upstream svn Patch3: color-loop.patch +Patch4: flash-swarm.patch BuildRequires: atk-devel >= %{atk_version} BuildRequires: pango-devel >= %{pango_version} @@ -118,6 +119,7 @@ docs for the GTK+ widget toolkit. %patch1 -p1 -b .set-invisible-char-to-bullet %patch2 -p1 -b .workaround %patch3 -p1 -b .color-loop +%patch4 -p1 -b .flash-swarm for i in config.guess config.sub ; do test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i . @@ -301,6 +303,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-2.0 %changelog +* Mon Aug 25 2008 Matthias Clasen - 2.13.7-3 +- Fix the "swarm of flash windows" + * Mon Aug 25 2008 Matthias Clasen - 2.13.7-2 - Fix a possible infinite loop in gtkrc parsing