diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-12-08 14:58:33 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-12-08 14:58:33 +0800 |
commit | 35238a72c61a7c20644f9380cada34e72600a152 (patch) | |
tree | 4e573fcc50a5549e1805cdc7e02aac5004d6340a /www/gtkhtml3/files | |
parent | 54e811f84e0225ba309d79cc208136ba92113632 (diff) | |
download | marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.tar marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.tar.gz marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.tar.bz2 marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.tar.lz marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.tar.xz marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.tar.zst marcuscom-ports-35238a72c61a7c20644f9380cada34e72600a152.zip |
Update to 3.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3232 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/gtkhtml3/files')
-rw-r--r-- | www/gtkhtml3/files/patch-src_htmlgdkpainter.c | 14 | ||||
-rw-r--r-- | www/gtkhtml3/files/patch-src_htmltext.c | 15 |
2 files changed, 29 insertions, 0 deletions
diff --git a/www/gtkhtml3/files/patch-src_htmlgdkpainter.c b/www/gtkhtml3/files/patch-src_htmlgdkpainter.c new file mode 100644 index 000000000..af82d605b --- /dev/null +++ b/www/gtkhtml3/files/patch-src_htmlgdkpainter.c @@ -0,0 +1,14 @@ +--- src/htmlgdkpainter.c.orig Wed Dec 8 01:43:54 2004 ++++ src/htmlgdkpainter.c Wed Dec 8 01:44:12 2004 +@@ -740,9 +740,10 @@ + item_gc (HTMLPainter *p, PangoItem *item, GdkDrawable *drawable, GdkGC *orig_gc, HTMLPangoProperties *properties, GdkGC **bg_gc) + { + GdkGC *new_gc = NULL; ++ HTMLEngine *e; + html_pango_get_item_properties (item, properties); + +- HTMLEngine *e = GTK_HTML (p->widget)->engine; ++ e = GTK_HTML (p->widget)->engine; + + *bg_gc = NULL; + diff --git a/www/gtkhtml3/files/patch-src_htmltext.c b/www/gtkhtml3/files/patch-src_htmltext.c new file mode 100644 index 000000000..f970e5b65 --- /dev/null +++ b/www/gtkhtml3/files/patch-src_htmltext.c @@ -0,0 +1,15 @@ +--- src/htmltext.c.orig Wed Dec 8 01:45:57 2004 ++++ src/htmltext.c Wed Dec 8 01:46:10 2004 +@@ -2433,10 +2433,11 @@ + gsize + html_text_sanitize (const gchar **str, gint *len) + { ++ gchar *end; + g_return_val_if_fail (str != NULL, 0); + g_return_val_if_fail (len != NULL, 0); + +- gchar *end = offset_to_pointer_validated (*str, *len, len); ++ end = offset_to_pointer_validated (*str, *len, len); + if (end) { + return end - *str; + } else { |