diff options
author | Matt Wilson <msw@redhat.com> | 2001-12-13 00:30:39 +0000 |
---|---|---|
committer | Matt Wilson <msw@src.gnome.org> | 2001-12-13 00:30:39 +0000 |
commit | d5ea33b91c35407c72c6d461d79d8db01d8ae32c (patch) | |
tree | cc761145d118a946ea3120a1ad4304144e6b8191 /gtk/pygtk-private.h | |
parent | 5fbf5bba2bffd87aef70d09e545bb35357ad93f5 (diff) | |
download | pygtk-d5ea33b91c35407c72c6d461d79d8db01d8ae32c.tar.gz |
always print and clear the exceptions in callback marshalers. People who
2001-12-12 Matt Wilson <msw@redhat.com>
* gobjectmodule.c (pyg_closure_marshal,
pyg_signal_class_closure_marshal): always print and clear the
exceptions in callback marshalers. People who want to catch these
exceptions and make them fatal should use sys.excepthook.
(pyg_fatal_exceptions_notify, pyg_fatal_exceptions_notify_add,
pyg_fatal_exceptions_remove): remove now unused functions. Also
remove them from the PyGObject_API.
* gtk/pygtk.h (PyGtk_FatalExceptions): remove.
* gtk/pygtk-private.h (PyGtk_FatalExceptions): remove.
* gtk/gtkmodule.c (init_gtk): don't bother with
PYGTK_FATAL_EXCEPTIONS.
(pygtk_main_quit): remove unused code.
* gtk/gtk.override (_wrap_gtk_item_factory_create_items,
_wrap_gtk_menu_popup): likewise, always print and clear the
exception.
Diffstat (limited to 'gtk/pygtk-private.h')
-rw-r--r-- | gtk/pygtk-private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/pygtk-private.h b/gtk/pygtk-private.h index e78f75cb..12c58c3b 100644 --- a/gtk/pygtk-private.h +++ b/gtk/pygtk-private.h @@ -37,8 +37,6 @@ GtkTreePath *pygtk_tree_path_from_pyobject(PyObject *object); GdkAtom pygdk_atom_from_pyobject(PyObject *object); -static gboolean PyGtk_FatalExceptions = FALSE; - typedef struct { PyObject *func, *data; } PyGtkCustomNotify; |