GLib 1.2.3: bug in g_idle_prepare

I was just browsing through the sources, trying to understand how the
mainloop is implemented, when I found this:

GLib 1.2.3, gmain.c, line 1323ff:

static gboolean 
g_idle_prepare  (gpointer  source_data, 
		 GTimeVal *current_time,
		 gint     *timeout,
		 gpointer  user_data)
  timeout = 0;
  return TRUE;

Surely, it should be 

  *timeout = 0; 



Bernhard Herzog	  | Sketch, a python based drawing program  |

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]