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