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