diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-11-24 04:50:59 +0000 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-11-24 04:50:59 +0000 |
commit | a09e98bbaf1f5be32f04ac8e2522ce0fb2c03290 (patch) | |
tree | fcefaf21cd2cc296038f3ab687de05b548e95d19 | |
parent | d7f19c421a192dbe65b5f067be32212bc12a0159 (diff) | |
download | FreeBSD-ports-a09e98bbaf1f5be32f04ac8e2522ce0fb2c03290.zip FreeBSD-ports-a09e98bbaf1f5be32f04ac8e2522ce0fb2c03290.tar.gz |
Fix a crash.
Reference: http://bugzilla.gnome.org/show_bug.cgi?id=322044
Obtained from: GNOME CVS
-rw-r--r-- | accessibility/gail/Makefile | 1 | ||||
-rw-r--r-- | accessibility/gail/files/patch-gail_gailtreeview.c | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/accessibility/gail/Makefile b/accessibility/gail/Makefile index 7b263a5..8642b17 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 0000000..37e32a3 --- /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; + } + |