summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch
diff options
context:
space:
mode:
authorChris Lord <chris@openedhand.com>2006-03-24 14:29:37 +0000
committerChris Lord <chris@openedhand.com>2006-03-24 14:29:37 +0000
commit15484b8c50f836a51484e1228e509ff03f39d935 (patch)
tree7d0396125e53a5f08d810547bc0223320451b893 /openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch
parentd614461fe9aa3480bc7c4bcd8abe704522979f2c (diff)
downloadpoky-15484b8c50f836a51484e1228e509ff03f39d935.tar.gz
Update gtkhtml2 and Web packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@338 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch')
-rw-r--r--openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch b/openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch
deleted file mode 100644
index 16337b7cc1..0000000000
--- a/openembedded/packages/gtkhtml2/files/fix-margin-inherit.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Index: libgtkhtml/layout/htmlbox.c
2===================================================================
3--- libgtkhtml/layout/htmlbox.c.orig 2006-02-06 01:50:52.000000000 +0000
4+++ libgtkhtml/layout/htmlbox.c 2006-02-06 01:53:16.000000000 +0000
5@@ -151,17 +151,13 @@ simple_margin (HtmlStyle *style)
6 static gboolean
7 need_containing_width (HtmlBox *box, gint width)
8 {
9- HtmlStyle *style;
10-
11 if (width > 0)
12 return FALSE;
13
14- style = HTML_BOX_GET_STYLE (box);
15-
16- if (simple_margin (style))
17- return FALSE;
18+ if (html_box_get_containing_block (box))
19+ return TRUE;
20
21- return TRUE;
22+ return FALSE;
23 }
24
25 gint