[pygobject] pygi-argument: Remove unused imports/includes
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-argument: Remove unused imports/includes
- Date: Mon, 30 Mar 2015 09:17:53 +0000 (UTC)
commit dbb0b199268ece884e19eb99093fc26bd7bf92af
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Mar 29 21:51:42 2015 +0200
pygi-argument: Remove unused imports/includes
https://bugzilla.gnome.org/show_bug.cgi?id=746985
gi/gimodule.c | 1 -
gi/pygi-argument.c | 7 -------
gi/pygi-argument.h | 2 --
3 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gi/gimodule.c b/gi/gimodule.c
index de9b787..0a5bd87 100644
--- a/gi/gimodule.c
+++ b/gi/gimodule.c
@@ -636,7 +636,6 @@ PYGLIB_MODULE_START(_gi, "_gi")
_pygi_struct_register_types (module);
_pygi_boxed_register_types (module);
_pygi_ccallback_register_types (module);
- _pygi_argument_init ();
/* Use RuntimeWarning as the base class of PyGIDeprecationWarning
* for unstable (odd minor version) and use DeprecationWarning for
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index d63520d..2aaf435 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -25,7 +25,6 @@
#include <string.h>
#include <time.h>
-#include <datetime.h>
#include <pyglib-python-compat.h>
#include <pyglib.h>
@@ -1856,9 +1855,3 @@ _pygi_argument_release (GIArgument *arg,
}
}
-void
-_pygi_argument_init (void)
-{
- PyDateTime_IMPORT;
-}
-
diff --git a/gi/pygi-argument.h b/gi/pygi-argument.h
index 73770bd..97ff393 100644
--- a/gi/pygi-argument.h
+++ b/gi/pygi-argument.h
@@ -74,8 +74,6 @@ void _pygi_argument_release (GIArgument *arg,
GITransfer transfer,
GIDirection direction);
-void _pygi_argument_init (void);
-
gboolean pygi_argument_to_gssize (GIArgument *arg_in,
GITypeTag type_tag,
gssize *gssize_out);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]