From 915e120efbc870dea432ed80e3257155cce43315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 6 Jan 2010 10:42:57 +0000 Subject: [PATCH] * debian/patches/091_size_allocate_crash.patch: + Patch from upstream GIT to fix a crash on size allocations. Thanks to Sebastien Bacher. --- debian/changelog | 8 +++++++ debian/patches/091_size_allocate_crash.patch | 25 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 34 insertions(+) create mode 100644 debian/patches/091_size_allocate_crash.patch diff --git a/debian/changelog b/debian/changelog index 2f49acfb1d..79389f9c77 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +gtk+2.0 (2.19.2-2) experimental; urgency=low + + * debian/patches/091_size_allocate_crash.patch: + + Patch from upstream GIT to fix a crash on size allocations. + Thanks to Sebastien Bacher. + + -- Sebastian Dröge Wed, 06 Jan 2010 11:42:07 +0100 + gtk+2.0 (2.19.2-1) experimental; urgency=low [ Emilio Pozuelo Monfort ] diff --git a/debian/patches/091_size_allocate_crash.patch b/debian/patches/091_size_allocate_crash.patch new file mode 100644 index 0000000000..bcab7e4120 --- /dev/null +++ b/debian/patches/091_size_allocate_crash.patch @@ -0,0 +1,25 @@ +From acb6f4ff33bb9eebd8c2b8ba4404d282426e1eeb Mon Sep 17 00:00:00 2001 +From: Kristian Rietveld +Date: Wed, 23 Dec 2009 07:31:21 +0000 +Subject: Fix call to update_prelight() + +Seems like some minus signs sneaked in while diffing and reapplying... +Fixes regression noted in 480065. +--- +diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c +index 1a60677..949250f 100644 +--- a/gtk/gtktreeview.c ++++ b/gtk/gtktreeview.c +@@ -2475,8 +2475,8 @@ gtk_tree_view_size_allocate (GtkWidget *widget, + if (tree_view->priv->prev_width_before_expander + != width_before_expander) + update_prelight (tree_view, +- -tree_view->priv->event_last_x, +- -tree_view->priv->event_last_y); ++ tree_view->priv->event_last_x, ++ tree_view->priv->event_last_y); + + tree_view->priv->prev_width_before_expander = width_before_expander; + } +-- +cgit v0.8.3.1 diff --git a/debian/patches/series b/debian/patches/series index 892457918b..a6adc4b367 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -15,3 +15,4 @@ 061_use_pdf_as_default_printing_standard.patch 070_mandatory-relibtoolize.patch 090_directfb-map-virtual-modifiers.patch +091_size_allocate_crash.patch