[gnome-control-center] network: Add missing nm-default.h file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Add missing nm-default.h file
- Date: Tue, 7 Jun 2016 12:39:21 +0000 (UTC)
commit 764208d8e9fe9374dcbc813cc36e1bbef3dbe58d
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jun 7 14:34:37 2016 +0200
network: Add missing nm-default.h file
panels/network/wireless-security/Makefile.am | 3 +-
panels/network/wireless-security/nm-default.h | 47 +++++++++++++++++++++++++
2 files changed, 49 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/wireless-security/Makefile.am b/panels/network/wireless-security/Makefile.am
index 06238c1..77457cb 100644
--- a/panels/network/wireless-security/Makefile.am
+++ b/panels/network/wireless-security/Makefile.am
@@ -38,7 +38,8 @@ libwireless_security_la_SOURCES = \
$(BUILT_SOURCES) \
$(NM_APPLET_SOURCES) \
utils.c \
- utils.h
+ utils.h \
+ nm-default.h
libwireless_security_la_CPPFLAGS = \
$(NETWORK_PANEL_CFLAGS) \
diff --git a/panels/network/wireless-security/nm-default.h b/panels/network/wireless-security/nm-default.h
new file mode 100644
index 0000000..07b7f7b
--- /dev/null
+++ b/panels/network/wireless-security/nm-default.h
@@ -0,0 +1,47 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* NetworkManager -- Network link manager
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA.
+ *
+ * (C) Copyright 2015 Red Hat, Inc.
+ */
+
+#ifndef __NM_DEFAULT_H__
+#define __NM_DEFAULT_H__
+
+#define LIBNM_GLIB_BUILD
+#define NETWORKMANAGER_COMPILATION
+
+/*****************************************************************************/
+
+/* always include these headers for our internal source files. */
+
+#ifndef ___CONFIG_H__
+#define ___CONFIG_H__
+#include <config.h>
+#endif
+
+#include <stdlib.h>
+
+#include <gtk/gtk.h>
+
+/*****************************************************************************/
+
+#include <glib/gi18n.h>
+
+/*****************************************************************************/
+
+#endif /* __NM_DEFAULT_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]