summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
Diffstat (limited to 'girepository')
-rw-r--r--girepository/gdump.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/girepository/gdump.c b/girepository/gdump.c
index cdede612..1b9ffd4f 100644
--- a/girepository/gdump.c
+++ b/girepository/gdump.c
@@ -381,10 +381,12 @@ dump_type (GType type, const char *symbol, GOutputStream *out)
* Returns: %TRUE on success, %FALSE on error
*/
#ifndef G_IREPOSITORY_COMPILATION
-static
-#endif
+static gboolean
+dump_irepository (const char *arg, GError **error)
+#else
gboolean
g_irepository_dump (const char *arg, GError **error)
+#endif
{
GHashTable *output_types;
char **args;