From f9d33678ede8ee20a9aba9adfe10e2ae7856e1f0 Mon Sep 17 00:00:00 2001 From: kwm Date: Tue, 29 Sep 2009 08:59:10 +0000 Subject: Fix a crash in de composer window when pressing backspace or the delete key. Submitted by: Romain Tartiere git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13072 df743ca5-7f9a-e211-a948-0013205c9059 --- www/gtkhtml3/Makefile | 3 ++- www/gtkhtml3/files/patch-components_editors_gtkhtml-editor.c | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 www/gtkhtml3/files/patch-components_editors_gtkhtml-editor.c (limited to 'www') 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 # # $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) { -- cgit v1.2.3