summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-11-19 22:13:54 +0000
committerMatt Wilson <msw@src.gnome.org>2001-11-19 22:13:54 +0000
commit61972bb1c4c041287a8ab6241b8eec4b20344054 (patch)
tree14b1b4140f54c9c3d28faa6af7b610c91e5ba35b
parent760f4c209ebee6bf23438ca0c88d6aad0093c324 (diff)
downloadpygobject-61972bb1c4c041287a8ab6241b8eec4b20344054.tar.gz
pygobject-61972bb1c4c041287a8ab6241b8eec4b20344054.tar.xz
pygobject-61972bb1c4c041287a8ab6241b8eec4b20344054.zip
fixed think-o, don't store a pointer to the function pointer, just storePYGTK_1_99_5
2001-11-19 Matt Wilson <msw@redhat.com> * gobjectmodule.c (pyg_fatal_exceptions_notify_{add,remove}): fixed think-o, don't store a pointer to the function pointer, just store the function pointer.
-rw-r--r--gobject/gobjectmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index cbf32db..40623e0 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -2291,7 +2291,7 @@ pyg_fatal_exceptions_notify(void)
return 0;
while (tmp_list != NULL) {
PyGFatalExceptionFunc notifier = tmp_list->data;
- (*notifier)();
+ (* notifier)();
tmp_list = g_list_next (tmp_list);
}
return 1;
@@ -2300,14 +2300,14 @@ static void
pyg_fatal_exceptions_notify_add(PyGFatalExceptionFunc func)
{
pygobject_exception_notifiers =
- g_list_append(pygobject_exception_notifiers, &func);
+ g_list_append(pygobject_exception_notifiers, func);
}
static void
pyg_fatal_exceptions_notify_remove(PyGFatalExceptionFunc func)
{
pygobject_exception_notifiers =
- g_list_remove(pygobject_exception_notifiers, &func);
+ g_list_remove(pygobject_exception_notifiers, func);
}
/* ----------------- gobject module initialisation -------------- */