summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Henstridge <jamesh@src.gnome.org>2002-01-22 06:08:36 +0000
committerJames Henstridge <jamesh@src.gnome.org>2002-01-22 06:08:36 +0000
commite82dc5aa17f0311c1ec2060b7121120ca637e23c (patch)
tree742febeab2bd75d8fcfaec9dfd1d4ac7ee87c5c3
parent05cf187b031fdb8b7623b3fd3f95f9cfcf1b7fd7 (diff)
downloadpygobject-e82dc5aa17f0311c1ec2060b7121120ca637e23c.tar.gz
pygobject-e82dc5aa17f0311c1ec2060b7121120ca637e23c.tar.xz
pygobject-e82dc5aa17f0311c1ec2060b7121120ca637e23c.zip
and again :(
-rw-r--r--gobject/gobjectmodule.c2
-rw-r--r--gobject/pygobject-private.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index 9f85d8a..cb6bc86 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -2085,7 +2085,7 @@ pyg_error_check(GError **error)
/* ----------------- gobject module initialisation -------------- */
-static struct _PyGObject_Functions pygobject_api_functions = {
+struct _PyGObject_Functions pygobject_api_functions = {
pygobject_register_class,
pygobject_register_wrapper,
pygobject_lookup_class,
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h
index c8677ac..8b3981a 100644
--- a/gobject/pygobject-private.h
+++ b/gobject/pygobject-private.h
@@ -10,7 +10,7 @@
/* from gobjectmodule.c */
-staticforward struct _PyGObject_Functions pygobject_api_functions;
+extern struct _PyGObject_Functions pygobject_api_functions;
#define pyg_block_threads() G_STMT_START { \
if (pygobject_api_functions.block_threads != NULL) \
(* pygobject_api_functions.block_threads)(); \