diff options
| author | James Henstridge <james@daa.com.au> | 2002-05-14 15:39:07 +0000 |
|---|---|---|
| committer | James Henstridge <jamesh@src.gnome.org> | 2002-05-14 15:39:07 +0000 |
| commit | 91e98c231a72293d9dbe3c8bf2f1f2dc7b45481a (patch) | |
| tree | 2b5cde94f0f934a4782abefa7c3760e2548d649e /gobject/gobjectmodule.c | |
| parent | 81b3be1e2d0dacef68025a683ef71180ba930407 (diff) | |
| download | pygobject-91e98c231a72293d9dbe3c8bf2f1f2dc7b45481a.tar.gz pygobject-91e98c231a72293d9dbe3c8bf2f1f2dc7b45481a.tar.xz pygobject-91e98c231a72293d9dbe3c8bf2f1f2dc7b45481a.zip | |
add handler for G_TYPE_PARAM (fix bug #81695). (pyg_value_as_pyobject):
2002-05-14 James Henstridge <james@daa.com.au>
* pygtype.c (pyg_value_from_pyobject): add handler for
G_TYPE_PARAM (fix bug #81695).
(pyg_value_as_pyobject): same in this function.
Diffstat (limited to 'gobject/gobjectmodule.c')
| -rw-r--r-- | gobject/gobjectmodule.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c index 1dc0e08..ce3059e 100644 --- a/gobject/gobjectmodule.c +++ b/gobject/gobjectmodule.c @@ -38,11 +38,6 @@ pyg_destroy_notify(gpointer user_data) /* -------------- GParamSpec objects ---------------------------- */ -typedef struct { - PyObject_HEAD - GParamSpec *pspec; -} PyGParamSpec; - static int pyg_param_spec_compare(PyGParamSpec *self, PyGParamSpec *v) { @@ -138,7 +133,7 @@ PyTypeObject PyGParamSpec_Type = { NULL }; -static PyObject * +PyObject * pyg_param_spec_new(GParamSpec *pspec) { PyGParamSpec *self; |
