[pygobject/invoke-rewrite] correctly initialize the _gi_cairo_functions array to be zero filled
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/invoke-rewrite] correctly initialize the _gi_cairo_functions array to be zero filled
- Date: Fri, 1 Jul 2011 09:21:10 +0000 (UTC)
commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
Author: John (J5) Palmieri <johnp redhat com>
Date: Fri Jul 1 05:19:15 2011 -0400
correctly initialize the _gi_cairo_functions array to be zero filled
gi/pygi-foreign-cairo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
index af84733..c6303f8 100644
--- a/gi/pygi-foreign-cairo.c
+++ b/gi/pygi-foreign-cairo.c
@@ -112,7 +112,7 @@ cairo_surface_release (GIBaseInfo *base_info,
Py_RETURN_NONE;
}
-static PyMethodDef _gi_cairo_functions[] = {};
+static PyMethodDef _gi_cairo_functions[] = {0,};
PYGLIB_MODULE_START(_gi_cairo, "_gi_cairo")
{
#if PY_VERSION_HEX < 0x03000000
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]