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

/*
 * Copyright (c) 2020 elementary, Inc. (https://elementary.io)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301 USA.
 */

#include <glib.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

VALA_EXTERN gboolean wingpanel_utils_is_wayland (void);

gboolean
wingpanel_utils_is_wayland (void)
{
	GdkDisplay* _tmp0_;
	gboolean result;
	_tmp0_ = gdk_display_get_default ();
	result = !G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, gdk_x11_display_get_type ());
	return result;
}

