[pygobject] Fix more missing #includes
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fix more missing #includes
- Date: Fri, 27 Jul 2012 21:17:35 +0000 (UTC)
commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
Author: Martin Pitt <martinpitt gnome org>
Date: Fri Jul 27 23:01:08 2012 +0200
Fix more missing #includes
Add missing includes which caused -Wmissing-prototypes warnings.
gi/_gobject/pygenum.c | 2 ++
gi/_gobject/pyginterface.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gi/_gobject/pygenum.c b/gi/_gobject/pygenum.c
index c0a51a9..4732891 100644
--- a/gi/_gobject/pygenum.c
+++ b/gi/_gobject/pygenum.c
@@ -30,6 +30,8 @@
#include "pygi.h"
+#include "pygenum.h"
+
GQuark pygenum_class_key;
PYGLIB_DEFINE_TYPE("gobject.GEnum", PyGEnum_Type, PyGEnum);
diff --git a/gi/_gobject/pyginterface.c b/gi/_gobject/pyginterface.c
index 29af546..eb76ba0 100644
--- a/gi/_gobject/pyginterface.c
+++ b/gi/_gobject/pyginterface.c
@@ -28,6 +28,8 @@
#include "pyglib.h"
#include "pygobject-private.h"
+#include "pyginterface.h"
+
GQuark pyginterface_type_key;
GQuark pyginterface_info_key;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]