[gobject-introspection] dumper: Make g_irepository_dump static when being used in dumper
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] dumper: Make g_irepository_dump static when being used in dumper
- Date: Fri, 1 Oct 2010 16:46:47 +0000 (UTC)
commit 04b48834511757f406fb7d0f4e8ace8fbe078ecd
Author: Colin Walters <walters verbum org>
Date: Fri Oct 1 12:44:08 2010 -0400
dumper: Make g_irepository_dump static when being used in dumper
Otherwise we'll bomb out if CFLAGS contains -Werror.
girepository/gdump.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/girepository/gdump.c b/girepository/gdump.c
index 166a9e7..cdede61 100644
--- a/girepository/gdump.c
+++ b/girepository/gdump.c
@@ -380,6 +380,9 @@ dump_type (GType type, const char *symbol, GOutputStream *out)
*
* Returns: %TRUE on success, %FALSE on error
*/
+#ifndef G_IREPOSITORY_COMPILATION
+static
+#endif
gboolean
g_irepository_dump (const char *arg, GError **error)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]