diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2012-05-04 20:00:41 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2012-05-04 20:00:41 +0000 |
commit | b2c353d874b85e06f355a9419852e2616613c7d0 (patch) | |
tree | f0773e0a930d308198ef5036d4f74e7f53015e6e /extra/gtk3 | |
parent | 0a24fb835cac4007388213ad0afb15257b035b14 (diff) |
Fri May 4 20:00:31 UTC 2012
Diffstat (limited to 'extra/gtk3')
-rw-r--r-- | extra/gtk3/empty_grid.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/extra/gtk3/empty_grid.patch b/extra/gtk3/empty_grid.patch deleted file mode 100644 index 45aefde47..000000000 --- a/extra/gtk3/empty_grid.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 97c1df4bb05966a4ce53b07271eff2f53284e235 Mon Sep 17 00:00:00 2001 -From: Matthias Clasen <mclasen@redhat.com> -Date: Fri, 21 Oct 2011 20:23:03 +0000 -Subject: Fix natural/min widht calculations for empty grids - -https://bugzilla.gnome.org/show_bug.cgi?id=660139 ---- -diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c -index a122ad4..78ae2ff 100644 ---- a/gtk/gtkgrid.c -+++ b/gtk/gtkgrid.c -@@ -927,8 +927,13 @@ gtk_grid_request_sum (GtkGridRequest *request, - linedata = &priv->linedata[orientation]; - lines = &request->lines[orientation]; - -- min = (nonempty - 1) * linedata->spacing; -- nat = (nonempty - 1) * linedata->spacing; -+ min = 0; -+ nat = 0; -+ if (nonempty > 0) -+ { -+ min = (nonempty - 1) * linedata->spacing; -+ nat = (nonempty - 1) * linedata->spacing; -+ } - - for (i = 0; i < lines->max - lines->min; i++) - { --- -cgit v0.9.0.2 |