mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
17 lines
282 B
C
17 lines
282 B
C
|
#include "gskresources.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);
|
||
|
}
|