summaryrefslogtreecommitdiff
path: root/openembedded/packages/gtkhtml2/files/fix-style-change.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-style-change.patch
parentd614461fe9aa3480bc7c4bcd8abe704522979f2c (diff)
downloadopenembedded-core-15484b8c50f836a51484e1228e509ff03f39d935.tar.gz
openembedded-core-15484b8c50f836a51484e1228e509ff03f39d935.tar.bz2
openembedded-core-15484b8c50f836a51484e1228e509ff03f39d935.tar.xz
openembedded-core-15484b8c50f836a51484e1228e509ff03f39d935.zip
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-style-change.patch')
-rw-r--r--openembedded/packages/gtkhtml2/files/fix-style-change.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/openembedded/packages/gtkhtml2/files/fix-style-change.patch b/openembedded/packages/gtkhtml2/files/fix-style-change.patch
deleted file mode 100644
index 865f2692a..000000000
--- a/openembedded/packages/gtkhtml2/files/fix-style-change.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: libgtkhtml/view/htmlview.c
-===================================================================
---- libgtkhtml/view/htmlview.c.orig 2006-02-11 04:45:41.000000000 +0000
-+++ libgtkhtml/view/htmlview.c 2006-02-11 04:45:42.000000000 +0000
-@@ -2286,9 +2286,7 @@ html_view_realize (GtkWidget *widget)
- * GtkLayout uses the bg color for background but we want
- * to use base color.
- */
-- widget->style = gtk_style_copy (widget->style);
-- widget->style->bg[GTK_STATE_NORMAL] =
-- widget->style->base[GTK_STATE_NORMAL];
-+ gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, &widget->style->base[GTK_STATE_NORMAL]);
- /*
- * Store the font size so we can adjust size of HtmlFontSpecification
- * if the size changes.
-@@ -3189,9 +3187,10 @@ html_view_style_set (GtkWidget *widget,
- "focus-line-width", &focus_width,
- NULL);
-
--
-- widget->style->bg[GTK_STATE_NORMAL] =
-- widget->style->base[GTK_STATE_NORMAL];
-+ if (!gdk_color_equal (&widget->style->bg[GTK_STATE_NORMAL], &widget->style->base[GTK_STATE_NORMAL])) {
-+ gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, &widget->style->base[GTK_STATE_NORMAL]);
-+ return;
-+ }
- fsize = pango_font_description_get_size (widget->style->font_desc) / (gfloat) PANGO_SCALE;
- new_isize = (gint) fsize;
- old_isize = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "html-view-font-size"));