aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
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 /widgets/table/e-table-item.c
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
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c4
1 files changed, 3 insertions, 1 deletions
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) {