r32411 - /desktop/unstable/gtk+2.0/debian/patches/070_revert_gtk_iconview_layout.patch

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Jan 18 12:11:29 UTC 2012


Author: biebl
Date: Wed Jan 18 12:11:29 2012
New Revision: 32411

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=32411
Log:
Add the patch ...

Added:
    desktop/unstable/gtk+2.0/debian/patches/070_revert_gtk_iconview_layout.patch

Added: desktop/unstable/gtk+2.0/debian/patches/070_revert_gtk_iconview_layout.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/patches/070_revert_gtk_iconview_layout.patch?rev=32411&op=file
==============================================================================
--- desktop/unstable/gtk+2.0/debian/patches/070_revert_gtk_iconview_layout.patch (added)
+++ desktop/unstable/gtk+2.0/debian/patches/070_revert_gtk_iconview_layout.patch [utf-8] Wed Jan 18 12:11:29 2012
@@ -1,0 +1,35 @@
+From 5c3bb1839cac52828756f9ddb98f49d586853991 Mon Sep 17 00:00:00 2001
+From: Cosimo Cecchi <cosimoc at gnome.org>
+Date: Wed, 16 Nov 2011 17:38:45 -0500
+Subject: [PATCH] Revert "iconview: layout items immediately when setting a
+ GtkTreeModel"
+
+It makes GtkIconView segfault on GTK 2.24.
+
+gtk_icon_view_expose() calls gtk_icon_view_layout() first thing if
+there's a layout queued anyway, so we wouldn't end up in the same
+situation causing the crash the original patch is supposed to fix.
+
+This reverts commit 5a03f4a6a50237d86959f596dda143dfc2f040d1.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=663138
+---
+ gtk/gtkiconview.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
+index 62877fa..54b3f3b 100644
+--- a/gtk/gtkiconview.c
++++ b/gtk/gtkiconview.c
+@@ -5423,7 +5423,7 @@ gtk_icon_view_set_model (GtkIconView *icon_view,
+ 
+       gtk_icon_view_build_items (icon_view);
+ 
+-      gtk_icon_view_layout (icon_view);
++      gtk_icon_view_queue_layout (icon_view);
+     }
+ 
+   g_object_notify (G_OBJECT (icon_view), "model");  
+-- 
+1.7.8.3
+




More information about the pkg-gnome-commits mailing list