diff options
author | James Henstridge <james@daa.com.au> | 2002-08-18 02:55:16 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2002-08-18 02:55:16 +0000 |
commit | c6ca78eb2cea9b7e1df04d42852a2c98a08f5303 (patch) | |
tree | 4627472a04143eb96e7bf1f08fed5965fbeec030 /pygtk.py | |
parent | 53f22d8e4f362ca96c543311d0c107c6b88633a7 (diff) | |
download | pygobject-c6ca78eb2cea9b7e1df04d42852a2c98a08f5303.tar.gz pygobject-c6ca78eb2cea9b7e1df04d42852a2c98a08f5303.tar.xz pygobject-c6ca78eb2cea9b7e1df04d42852a2c98a08f5303.zip |
don't need to manually sink. (_wrap_gtk_tree_view_column_new): same here.
2002-08-18 James Henstridge <james@daa.com.au>
* gtk/gtk.override (_wrap_gtk_clist_new_with_titles): don't need
to manually sink.
(_wrap_gtk_tree_view_column_new): same here.
(_wrap_gtk_button_new): same here.
(_wrap_gtk_toggle_button_new): same here.
(_wrap_gtk_check_button_new): same here.
(_wrap_gtk_radio_button_new): same here.
(_wrap_gtk_list_item_new): same here.
(_wrap_gtk_menu_item_new): same here.
(_wrap_gtk_check_menu_item_new): same here.
(_wrap_gtk_radio_menu_item_new): same here.
(_wrap_gtk_image_menu_item_new): same here.
(_wrap_gtk_ctree_new_with_titles): same here.
(_wrap_gtk_dialog_new_with_buttons): same here.
(_wrap_gtk_message_dialog_new): same here.
(_wrap_gtk_progress_bar_new_with_adjustment): same here.
* gtk/gtkmodule.c (sink_gtkobject): function to sink a GtkObject
if it is floating.
(init_gtk): register sink_gtkobject for sinking GtkObjects.
* codegen/codegen.py
(GObjectWrapper.get_initial_constructor_substdict): get rid of
gtkobjectsink bit of code.
* pygobject.c (pygobject_register_sinkfunc): new function to
register a function to get rid of the floating reference from an
object.
(sink_object): run a sinkfunc for an object if it has been
registered.
(pygobject_new): call sink_object
(pygobject_register_wrapper): call sink_object.
Diffstat (limited to 'pygtk.py')
0 files changed, 0 insertions, 0 deletions