[Goodies-commits] r3592 - ristretto/trunk/src
Stephan Arts
stephan at xfce.org
Sat Nov 17 12:26:04 CET 2007
Author: stephan
Date: 2007-11-17 11:26:04 +0000 (Sat, 17 Nov 2007)
New Revision: 3592
Modified:
ristretto/trunk/src/picture_viewer.c
Log:
Fix the cpu-usage
Modified: ristretto/trunk/src/picture_viewer.c
===================================================================
--- ristretto/trunk/src/picture_viewer.c 2007-11-15 08:37:37 UTC (rev 3591)
+++ ristretto/trunk/src/picture_viewer.c 2007-11-17 11:26:04 UTC (rev 3592)
@@ -790,6 +790,7 @@
{
rstto_picture_viewer_refresh(viewer);
rstto_picture_viewer_paint(GTK_WIDGET(viewer));
+ g_source_remove(viewer->priv->refresh.idle_id);
viewer->priv->refresh.idle_id = -1;
return FALSE;
}
More information about the Goodies-commits
mailing list