summaryrefslogtreecommitdiff
path: root/gsk/gskprivate.c
blob: 8404b9dbc6b502d06c751c32577f52b32c72c8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 (&register_resources_once, register_resources, NULL);
}