Use G_SOURCE_CONTINUE/REMOVE
Now that GLib provides these macros, we should use them to make the code more readable.
This commit is contained in:
@ -211,7 +211,7 @@ on_timeout (gpointer data)
|
||||
|
||||
GDK_THREADS_LEAVE ();
|
||||
|
||||
return FALSE; /* don't call me again */
|
||||
return G_SOURCE_REMOVE; /* don't call me again */
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user