diff options
Diffstat (limited to 'openembedded/packages/gtkhtml2/files/css-media.patch')
-rw-r--r-- | openembedded/packages/gtkhtml2/files/css-media.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/openembedded/packages/gtkhtml2/files/css-media.patch b/openembedded/packages/gtkhtml2/files/css-media.patch index a2d4d2b68c..c5500ca2d1 100644 --- a/openembedded/packages/gtkhtml2/files/css-media.patch +++ b/openembedded/packages/gtkhtml2/files/css-media.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | Index: libgtkhtml/css/cssmatcher.c | 1 | Index: libgtkhtml/css/cssmatcher.c |
2 | =================================================================== | 2 | =================================================================== |
3 | --- libgtkhtml/css/cssmatcher.c.orig 2006-02-05 18:19:15.000000000 +0000 | 3 | --- libgtkhtml/css/cssmatcher.c.orig 2006-02-11 05:18:03.000000000 +0000 |
4 | +++ libgtkhtml/css/cssmatcher.c 2006-02-05 18:20:15.000000000 +0000 | 4 | +++ libgtkhtml/css/cssmatcher.c 2006-02-11 05:21:28.000000000 +0000 |
5 | @@ -2411,7 +2411,8 @@ css_matcher_apply_stylesheet (HtmlDocume | 5 | @@ -2411,7 +2411,8 @@ css_matcher_apply_stylesheet (HtmlDocume |
6 | CssStatement *stat = list->data; | 6 | CssStatement *stat = list->data; |
7 | gint j; | 7 | gint j; |
@@ -155,8 +155,8 @@ Index: libgtkhtml/css/cssmatcher.c | |||
155 | 155 | ||
156 | Index: libgtkhtml/document/htmldocument.c | 156 | Index: libgtkhtml/document/htmldocument.c |
157 | =================================================================== | 157 | =================================================================== |
158 | --- libgtkhtml/document/htmldocument.c.orig 2006-02-05 18:20:06.000000000 +0000 | 158 | --- libgtkhtml/document/htmldocument.c.orig 2006-02-11 05:21:18.000000000 +0000 |
159 | +++ libgtkhtml/document/htmldocument.c 2006-02-05 18:20:15.000000000 +0000 | 159 | +++ libgtkhtml/document/htmldocument.c 2006-02-11 05:21:28.000000000 +0000 |
160 | @@ -142,9 +142,7 @@ html_document_stylesheet_stream_close (c | 160 | @@ -142,9 +142,7 @@ html_document_stylesheet_stream_close (c |
161 | if (!buffer) | 161 | if (!buffer) |
162 | return; | 162 | return; |
@@ -268,7 +268,7 @@ Index: libgtkhtml/document/htmldocument.c | |||
268 | 268 | ||
269 | g_signal_connect (G_OBJECT (document->image_factory), "request_image", | 269 | g_signal_connect (G_OBJECT (document->image_factory), "request_image", |
270 | G_CALLBACK (html_document_request_image), document); | 270 | G_CALLBACK (html_document_request_image), document); |
271 | @@ -1150,3 +1157,24 @@ html_document_remove_stylesheet (HtmlDoc | 271 | @@ -1159,3 +1166,24 @@ html_document_remove_stylesheet (HtmlDoc |
272 | return TRUE; | 272 | return TRUE; |
273 | } | 273 | } |
274 | 274 | ||
@@ -295,8 +295,8 @@ Index: libgtkhtml/document/htmldocument.c | |||
295 | +} | 295 | +} |
296 | Index: libgtkhtml/document/htmldocument.h | 296 | Index: libgtkhtml/document/htmldocument.h |
297 | =================================================================== | 297 | =================================================================== |
298 | --- libgtkhtml/document/htmldocument.h.orig 2006-02-05 18:20:06.000000000 +0000 | 298 | --- libgtkhtml/document/htmldocument.h.orig 2006-02-11 05:20:51.000000000 +0000 |
299 | +++ libgtkhtml/document/htmldocument.h 2006-02-05 18:20:15.000000000 +0000 | 299 | +++ libgtkhtml/document/htmldocument.h 2006-02-11 05:21:28.000000000 +0000 |
300 | @@ -64,6 +64,8 @@ struct _HtmlDocument { | 300 | @@ -64,6 +64,8 @@ struct _HtmlDocument { |
301 | DomNode *hover_node; | 301 | DomNode *hover_node; |
302 | DomNode *active_node; | 302 | DomNode *active_node; |
@@ -316,7 +316,7 @@ Index: libgtkhtml/document/htmldocument.h | |||
316 | GType html_document_get_type (void); | 316 | GType html_document_get_type (void); |
317 | @@ -116,6 +119,10 @@ DomNode *html_document_find_anchor | 317 | @@ -116,6 +119,10 @@ DomNode *html_document_find_anchor |
318 | void html_document_add_stylesheet (HtmlDocument *document, CssStylesheet *stylesheet); | 318 | void html_document_add_stylesheet (HtmlDocument *document, CssStylesheet *stylesheet); |
319 | gboolean html_document_remove_stylesheet (HtmlDocument *document, CssStylesheet *stylesheet); | 319 | void html_document_remove_stylesheet (HtmlDocument *document, CssStylesheet *stylesheet); |
320 | 320 | ||
321 | +void html_document_set_media_type (HtmlDocument *document, const gchar *type); | 321 | +void html_document_set_media_type (HtmlDocument *document, const gchar *type); |
322 | +const gchar *html_document_get_media_type (HtmlDocument *document); | 322 | +const gchar *html_document_get_media_type (HtmlDocument *document); |
@@ -327,8 +327,8 @@ Index: libgtkhtml/document/htmldocument.h | |||
327 | #endif /* __HTMLDOCUMENT_H__ */ | 327 | #endif /* __HTMLDOCUMENT_H__ */ |
328 | Index: libgtkhtml/css/cssparser.c | 328 | Index: libgtkhtml/css/cssparser.c |
329 | =================================================================== | 329 | =================================================================== |
330 | --- libgtkhtml/css/cssparser.c.orig 2006-02-05 18:19:15.000000000 +0000 | 330 | --- libgtkhtml/css/cssparser.c.orig 2006-02-11 05:18:03.000000000 +0000 |
331 | +++ libgtkhtml/css/cssparser.c 2006-02-05 18:20:15.000000000 +0000 | 331 | +++ libgtkhtml/css/cssparser.c 2006-02-11 05:21:28.000000000 +0000 |
332 | @@ -688,6 +688,32 @@ css_parser_parse_value (const gchar *buf | 332 | @@ -688,6 +688,32 @@ css_parser_parse_value (const gchar *buf |
333 | return pos; | 333 | return pos; |
334 | } | 334 | } |
@@ -441,8 +441,8 @@ Index: libgtkhtml/css/cssparser.c | |||
441 | if (pos == -1) | 441 | if (pos == -1) |
442 | Index: libgtkhtml/css/cssparser.h | 442 | Index: libgtkhtml/css/cssparser.h |
443 | =================================================================== | 443 | =================================================================== |
444 | --- libgtkhtml/css/cssparser.h.orig 2006-02-05 18:19:15.000000000 +0000 | 444 | --- libgtkhtml/css/cssparser.h.orig 2006-02-11 05:18:03.000000000 +0000 |
445 | +++ libgtkhtml/css/cssparser.h 2006-02-05 18:20:15.000000000 +0000 | 445 | +++ libgtkhtml/css/cssparser.h 2006-02-11 05:21:28.000000000 +0000 |
446 | @@ -30,7 +30,7 @@ | 446 | @@ -30,7 +30,7 @@ |
447 | 447 | ||
448 | G_BEGIN_DECLS | 448 | G_BEGIN_DECLS |
@@ -454,8 +454,8 @@ Index: libgtkhtml/css/cssparser.h | |||
454 | G_END_DECLS | 454 | G_END_DECLS |
455 | Index: libgtkhtml/css/cssstylesheet.h | 455 | Index: libgtkhtml/css/cssstylesheet.h |
456 | =================================================================== | 456 | =================================================================== |
457 | --- libgtkhtml/css/cssstylesheet.h.orig 2006-02-05 18:19:15.000000000 +0000 | 457 | --- libgtkhtml/css/cssstylesheet.h.orig 2006-02-11 05:18:03.000000000 +0000 |
458 | +++ libgtkhtml/css/cssstylesheet.h 2006-02-05 18:20:15.000000000 +0000 | 458 | +++ libgtkhtml/css/cssstylesheet.h 2006-02-11 05:21:28.000000000 +0000 |
459 | @@ -99,6 +99,7 @@ struct _CssStatement { | 459 | @@ -99,6 +99,7 @@ struct _CssStatement { |
460 | CssValue *url; | 460 | CssValue *url; |
461 | gboolean fetched; | 461 | gboolean fetched; |