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:
Matthias Clasen
2012-01-30 19:12:27 -05:00
parent 7a080413ad
commit 585a6652d5
27 changed files with 43 additions and 45 deletions

View File

@ -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