aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-27 16:54:20 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-27 16:54:20 +0800
commit46f11c21b26b2049d95008a4e65b0e83afac2bec (patch)
tree74eb04690d7285d983e5bd782103f34f728f275c
parent4f5134afdac9ec5824e8bcb86b8c02a0bec7c955 (diff)
downloadgsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.tar
gsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.tar.gz
gsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.tar.bz2
gsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.tar.lz
gsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.tar.xz
gsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.tar.zst
gsoc2013-evolution-46f11c21b26b2049d95008a4e65b0e83afac2bec.zip
** Fix for bug #323522
svn path=/trunk/; revision=33860
-rw-r--r--widgets/table/ChangeLog6
-rw-r--r--widgets/table/e-table-item.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 650b16cb51..f4a5ec9560 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-27 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #323522
+
+ * e-table-item.c: (eti_unfreeze):
+
2007-06-15 Matthew Barnes <mbarnes@redhat.com>
* e-cell-vbox.c (ecv_finalize):
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index c4b5ea17d0..026d9d11a3 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1059,7 +1059,9 @@ eti_freeze (ETableItem *eti)
static void
eti_unfreeze (ETableItem *eti)
{
- g_return_if_fail (eti->frozen_count > 0);
+ if (eti->frozen_count <= 0)
+ return;
+
eti->frozen_count --;
d(g_print ("%s: %d\n", __FUNCTION__, eti->frozen_count));
if (eti->frozen_count == 0 && eti->queue_show_cursor) {