[Goodies-commits] r1906 - xfce4-cpugraph-plugin/trunk/panel-plugin
Jasper Huijsmans
jasper at xfce.org
Wed Aug 16 15:37:56 CEST 2006
Author: jasper
Date: 2006-08-16 13:37:55 +0000 (Wed, 16 Aug 2006)
New Revision: 1906
Modified:
xfce4-cpugraph-plugin/trunk/panel-plugin/cpu.c
Log:
Free some more gc resources. Bug #2106.
Modified: xfce4-cpugraph-plugin/trunk/panel-plugin/cpu.c
===================================================================
--- xfce4-cpugraph-plugin/trunk/panel-plugin/cpu.c 2006-08-16 13:34:01 UTC (rev 1905)
+++ xfce4-cpugraph-plugin/trunk/panel-plugin/cpu.c 2006-08-16 13:37:55 UTC (rev 1906)
@@ -751,6 +751,9 @@
TRUE, x * 3, y * 2, 2, 1);
}
}
+
+ if (base->m_ColorMode > 0)
+ g_object_unref (gc);
}
else if (base->m_Mode == 2)
{
@@ -787,6 +790,9 @@
(base->m_ColorMode > 0) ? gc : fg1,
0, y, w, y);
}
+
+ if (base->m_ColorMode > 0)
+ g_object_unref (gc);
}
else if (base->m_Mode == 4)
{
More information about the Goodies-commits
mailing list