mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
Minor cleanups in mainloop tests
This commit is contained in:
parent
470f872af9
commit
e315918f52
@ -25,25 +25,29 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static gboolean cb (gpointer data)
|
||||
static gboolean
|
||||
cb (gpointer data)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static gboolean prepare (GSource *source, gint *time)
|
||||
static gboolean
|
||||
prepare (GSource *source, gint *time)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
static gboolean check (GSource *source)
|
||||
static gboolean
|
||||
check (GSource *source)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
static gboolean dispatch (GSource *source, GSourceFunc cb, gpointer date)
|
||||
static gboolean
|
||||
dispatch (GSource *source, GSourceFunc cb, gpointer date)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
GSourceFuncs funcs = {
|
||||
static GSourceFuncs funcs = {
|
||||
prepare,
|
||||
check,
|
||||
dispatch,
|
||||
|
Loading…
Reference in New Issue
Block a user