diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-29 16:59:10 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-29 16:59:10 +0800 |
commit | f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0 (patch) | |
tree | 0a587a12a6f9bf2ed05fe6c2dcae04f706e23888 /www/gtkhtml3 | |
parent | a7d688bdc1bcc5abd4fa2f7cdb40bebe21503f7f (diff) | |
download | marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.tar marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.tar.gz marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.tar.bz2 marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.tar.lz marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.tar.xz marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.tar.zst marcuscom-ports-f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0.zip |
Fix a crash in de composer window when pressing backspace or the delete key.
Submitted by: Romain Tartiere <romain@blogreen.org>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13072 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/gtkhtml3')
-rw-r--r-- | www/gtkhtml3/Makefile | 3 | ||||
-rw-r--r-- | www/gtkhtml3/files/patch-components_editors_gtkhtml-editor.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/www/gtkhtml3/Makefile b/www/gtkhtml3/Makefile index 9688d5600..6d04793ce 100644 --- a/www/gtkhtml3/Makefile +++ b/www/gtkhtml3/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/www/gtkhtml3/Makefile,v 1.156 2009/09/07 14:14:40 kwm Exp $ +# $MCom: ports/www/gtkhtml3/Makefile,v 1.157 2009/09/21 11:39:59 kwm Exp $ # PORTNAME= gtkhtml3 PORTVERSION= 3.28.0 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/www/gtkhtml3/files/patch-components_editors_gtkhtml-editor.c b/www/gtkhtml3/files/patch-components_editors_gtkhtml-editor.c new file mode 100644 index 000000000..632f7d3e6 --- /dev/null +++ b/www/gtkhtml3/files/patch-components_editors_gtkhtml-editor.c @@ -0,0 +1,11 @@ +--- components/editor/gtkhtml-editor.c.orig 2009-09-29 10:28:17.000000000 +0200 ++++ components/editor/gtkhtml-editor.c 2009-09-29 10:28:38.000000000 +0200 +@@ -384,7 +384,7 @@ editor_method_event (GtkHTML *html, + guint signal_id; + + /* GtkHTML event arguments are either NULL or a single string. */ +- if (G_VALUE_HOLDS (args, G_TYPE_STRING)) ++ if (args && G_VALUE_HOLDS (args, G_TYPE_STRING)) + string = g_value_get_string (args); + + switch (event) { |