1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Fix a crash.

Reference:	http://bugzilla.gnome.org/show_bug.cgi?id=322044
Obtained from:	GNOME CVS
This commit is contained in:
Jean-Yves Lefort 2005-11-24 04:50:59 +00:00
parent 1734aa8365
commit 97224c0fdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149257
2 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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;
}