[anjal] BUGFIX: GNOME Bugzilla #592894 - Fix for an infinite loop.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] BUGFIX: GNOME Bugzilla #592894 - Fix for an infinite loop.
- Date: Wed, 9 Sep 2009 06:19:02 +0000 (UTC)
commit 383e09a58aa183c14ca74cab9395d324973863f0
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Sep 9 11:45:56 2009 +0530
BUGFIX: GNOME Bugzilla #592894 - Fix for an infinite loop.
src/em-tree-store.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/em-tree-store.c b/src/em-tree-store.c
index fb82441..4c95185 100644
--- a/src/em-tree-store.c
+++ b/src/em-tree-store.c
@@ -201,6 +201,9 @@ emts_calc_path(EMTreeNode *node, GtkTreePath *path)
if (node->parent) {
int i = 0;
EMTreeNode *scan;
+
+ if (node == node->parent->parent)
+ return;
emts_calc_path(node->parent, path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]