summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-24 04:50:59 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-24 04:50:59 +0000
commit97224c0fdc4690b51b7dea13c1beab4e8d75a4d9 (patch)
tree05e80ca67354e5824f3eaae81725034ff836721a /accessibility
parentNew port: games/oolite - clone of Elite space simulator game for GNUstep (diff)
Fix a crash.
Reference: http://bugzilla.gnome.org/show_bug.cgi?id=322044 Obtained from: GNOME CVS
Notes
Notes: svn path=/head/; revision=149257
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gail/Makefile1
-rw-r--r--accessibility/gail/files/patch-gail_gailtreeview.c21
2 files changed, 22 insertions, 0 deletions
diff --git a/accessibility/gail/Makefile b/accessibility/gail/Makefile
index 7b263a5d5006..8642b17aecda 100644
--- a/accessibility/gail/Makefile
+++ b/accessibility/gail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gail
PORTVERSION= 1.8.6
+PORTREVISION= 1
CATEGORIES= accessibility x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.8
diff --git a/accessibility/gail/files/patch-gail_gailtreeview.c b/accessibility/gail/files/patch-gail_gailtreeview.c
new file mode 100644
index 000000000000..37e32a320abc
--- /dev/null
+++ b/accessibility/gail/files/patch-gail_gailtreeview.c
@@ -0,0 +1,21 @@
+--- gail/gailtreeview.c.orig Thu Oct 6 13:17:11 2005
++++ gail/gailtreeview.c Thu Nov 24 05:45:24 2005
+@@ -2249,7 +2249,7 @@
+ gint n_inserted, row;
+
+ tree_model = gtk_tree_view_get_model(tree_view);
+- if (!gtk_tree_model_get_iter (tree_model, &iter, path))
++ if (!path || !gtk_tree_model_get_iter (tree_model, &iter, path))
+ return FALSE;
+
+ /*
+@@ -2294,8 +2294,8 @@
+
+ g_signal_emit_by_name (gailview, "row_inserted", row, n_inserted);
+
++ gailview->idle_expand_path = NULL;
+ gtk_tree_path_free (path);
+- g_free (data);
+ return FALSE;
+ }
+