[glib/wip/gcleanup: 77/106] gio: Define cleanup scope and list for libgio
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup: 77/106] gio: Define cleanup scope and list for libgio
- Date: Mon, 11 Nov 2013 08:01:28 +0000 (UTC)
commit 9b133e4fab19dfa0a2339049f1d28c8d14b2fc00
Author: Stef Walter <stefw gnome org>
Date: Thu Nov 7 22:35:06 2013 +0100
gio: Define cleanup scope and list for libgio
https://bugzilla.gnome.org/show_bug.cgi?id=711799
gio/Makefile.am | 2 ++
gio/gio.c | 28 ++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index 3e80e06..ed42022 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -23,6 +23,7 @@ uninstall-ms-lib:
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GLib-GIO\" \
+ -DG_CLEANUP_SCOPE=gio_cleanup \
$(gmodule_INCLUDES) \
$(GLIB_DEBUG_FLAGS) \
-DGIO_COMPILATION \
@@ -337,6 +338,7 @@ giowin32include_HEADERS = \
endif
libgio_2_0_la_SOURCES = \
+ gio.c \
gappinfo.c \
gappinfoprivate.h \
gasynchelper.c \
diff --git a/gio/gio.c b/gio/gio.c
new file mode 100644
index 0000000..ce0647c
--- /dev/null
+++ b/gio/gio.c
@@ -0,0 +1,28 @@
+/* GIO - GLib Input, Output and Streaming Library
+ *
+ * Copyright (C) 2013 Red Hat, Inc.
+ *
+ * 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., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Stef Walter <stefw redhat com>
+ */
+
+#include "config.h"
+
+#include <glib/glib.h>
+
+/* The cleanup list for libgio */
+G_CLEANUP_DEFINE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]