summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2007-08-31 14:27:41 +0000
committerMart Raudsepp <leio@gentoo.org>2007-08-31 14:27:41 +0000
commitb3d64dc0128098f539fc00bbd16ae65aac482142 (patch)
treedfda5d4d455b89de874f391162a43b12efb7c254 /gnome-extra/gtkhtml/files
parentchange libparted depend as suggested by agaffney in bug #190860 (diff)
downloadhistorical-b3d64dc0128098f539fc00bbd16ae65aac482142.tar.gz
historical-b3d64dc0128098f539fc00bbd16ae65aac482142.tar.bz2
historical-b3d64dc0128098f539fc00bbd16ae65aac482142.zip
Add patch for a fix for get_left_margin related crashes
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'gnome-extra/gtkhtml/files')
-rw-r--r--gnome-extra/gtkhtml/files/digest-gtkhtml-3.0.103
-rw-r--r--gnome-extra/gtkhtml/files/digest-gtkhtml-3.14.3-r13
-rw-r--r--gnome-extra/gtkhtml/files/gtkhtml-3.14.3-get_left_margin-fix.patch28
3 files changed, 31 insertions, 3 deletions
diff --git a/gnome-extra/gtkhtml/files/digest-gtkhtml-3.0.10 b/gnome-extra/gtkhtml/files/digest-gtkhtml-3.0.10
deleted file mode 100644
index af50c0fdbf8c..000000000000
--- a/gnome-extra/gtkhtml/files/digest-gtkhtml-3.0.10
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b05b8551f7803f32ecfcf505a6310f3f gtkhtml-3.0.10.tar.bz2 1074973
-RMD160 28804d3bab14f2d76ce15c1f441fe873e5a607ba gtkhtml-3.0.10.tar.bz2 1074973
-SHA256 47492876466dcbcd82e371264c6a1422f82feb80e40fe25a42ccc1fb7897180c gtkhtml-3.0.10.tar.bz2 1074973
diff --git a/gnome-extra/gtkhtml/files/digest-gtkhtml-3.14.3-r1 b/gnome-extra/gtkhtml/files/digest-gtkhtml-3.14.3-r1
new file mode 100644
index 000000000000..c7beeb666ed5
--- /dev/null
+++ b/gnome-extra/gtkhtml/files/digest-gtkhtml-3.14.3-r1
@@ -0,0 +1,3 @@
+MD5 7c028f07e0eb061b0a895ac514265cf1 gtkhtml-3.14.3.tar.bz2 1283748
+RMD160 2761c056a1ed9d8759c1897afb61808872305f9d gtkhtml-3.14.3.tar.bz2 1283748
+SHA256 6419265c9766de668bd553742d915df095bdab2737a4583f63e67242d3903832 gtkhtml-3.14.3.tar.bz2 1283748
diff --git a/gnome-extra/gtkhtml/files/gtkhtml-3.14.3-get_left_margin-fix.patch b/gnome-extra/gtkhtml/files/gtkhtml-3.14.3-get_left_margin-fix.patch
new file mode 100644
index 000000000000..ed705fcbf30c
--- /dev/null
+++ b/gnome-extra/gtkhtml/files/gtkhtml-3.14.3-get_left_margin-fix.patch
@@ -0,0 +1,28 @@
+Patch from Milan Crha <mcrha@redhat.com> from http://bugzilla.gnome.org/show_bug.cgi?id=426496
+to hopefully fix crashes in html_object_get_left_margin
+
+Index: src/htmlembedded.c
+===================================================================
+--- src/htmlembedded.c (revision 8509)
++++ src/htmlembedded.c (working copy)
+@@ -120,6 +120,7 @@
+ gtk_container_remove (GTK_CONTAINER (element->parent), element->widget);
+ } else {
+ g_object_ref_sink (element->widget);
++ g_object_unref (element->widget);
+ }
+ }
+
+Index: src/gtkhtml.c
+===================================================================
+--- src/gtkhtml.c (revision 8509)
++++ src/gtkhtml.c (working copy)
+@@ -4515,7 +4515,7 @@
+ {
+ GtkAdjustment *adj;
+ gint line_height;
+- gfloat delta;
++ gfloat delta = 0;
+
+ /* we dont want scroll in editable (move cursor instead) */
+ if (html_engine_get_editable (html->engine) || html->engine->caret_mode)