[pygobject/pygobject-2-28] 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/pygobject-2-28] correctly initialize the _gi_cairo_functions array to be zero filled
- Date: Fri, 1 Jul 2011 09:22:50 +0000 (UTC)
commit 9281ce8876ca5205c7cbe0a55eba94e7ea3fc10d
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 e332a22..81b9865 100644
--- a/gi/pygi-foreign-cairo.c
+++ b/gi/pygi-foreign-cairo.c
@@ -114,7 +114,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")
{
Pycairo_IMPORT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]