/* Init.c generated by valac 0.56.17, the Vala compiler
 * generated from Init.vala, do not modify */

/*
 * Copyright 2021 elementary, Inc. (https://elementary.io)
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#include <glib.h>
#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
#include "granite.h"

#define GRANITE_GETTEXT_PACKAGE "granite"
#define GRANITE_LOCALEDIR "/usr/share/locale"
#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif

VALA_EXTERN gboolean granite_initialized;
gboolean granite_initialized = FALSE;

 G_GNUC_INTERNAL void granite_init (void);

 G_GNUC_INTERNAL void
granite_init (void)
{
	if (granite_initialized) {
		return;
	}
	bindtextdomain (GRANITE_GETTEXT_PACKAGE, GRANITE_LOCALEDIR);
	bind_textdomain_codeset (GRANITE_GETTEXT_PACKAGE, "UTF-8");
	granite_initialized = TRUE;
}

