18 lines
306 B
C
18 lines
306 B
C
|
#include "gskresources.h"
|
||
|
#include "gskprivate.h"
|
||
|
|
||
|
static gpointer
|
||
|
register_resources (gpointer data)
|
||
|
{
|
||
|
_gsk_register_resource ();
|
||
|
return NULL;
|
||
|
}
|
||
|
|
||
|
void
|
||
|
gsk_ensure_resources (void)
|
||
|
{
|
||
|
static GOnce register_resources_once = G_ONCE_INIT;
|
||
|
|
||
|
g_once (®ister_resources_once, register_resources, NULL);
|
||
|
}
|