Skip to content

Commit

Permalink
increment version number, and require gtk 1.3.9 (we already required it
Browse files Browse the repository at this point in the history
2001-09-30  James Henstridge  <james@daa.com.au>

	* configure.in: increment version number, and require gtk 1.3.9
	(we already required it before).

	* gobjectmodule.c (pygobject_new): initialise extra members.
	Problem found by msw.
  • Loading branch information
James Henstridge authored and James Henstridge committed Sep 30, 2001
1 parent 1291b34 commit cacfb47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gobject/gobjectmodule.c
Expand Up @@ -318,8 +318,10 @@ pygobject_new(GObject *obj)

if (self == NULL)
return NULL;
self->obj = obj;
g_object_ref(obj);
self->obj = g_object_ref(obj);
self->hasref = FALSE;
self->inst_dict = NULL;
self->weakreflist = NULL;
/* save wrapper pointer so we can access it later */
g_object_set_qdata(obj, pygobject_wrapper_key, self);

Expand Down

0 comments on commit cacfb47

Please sign in to comment.