diff options
author | John Finlay <finlay@src.gnome.org> | 2004-07-29 02:13:07 +0000 |
---|---|---|
committer | John Finlay <finlay@src.gnome.org> | 2004-07-29 02:13:07 +0000 |
commit | 8112b8c67395ca3154ce555664474c7ec19829ec (patch) | |
tree | ce812adca407535433dd494a01667a10dc31f9a1 /gtk/gtktreeview.override | |
parent | 54cb3b086c5ba5314ac18e56643746e4b91b684a (diff) | |
download | pygtk-8112b8c67395ca3154ce555664474c7ec19829ec.tar.gz |
gtk/gtktreeview.override (_wrap_gtk_tree_view_get_cursor)
* gtk/gtktreeview.override (_wrap_gtk_tree_view_get_cursor)
(_wrap_gtk_tree_sortable_get_sort_column_id)
(_wrap_gtk_tree_view_get_drag_dest_row)
(_wrap_gtk_tree_view_get_dest_row_at_pos)
Fix reference leaks.
* gtk/gtk.override (_wrap_gtk_box_query_child_packing)
(_wrap_gtk_notebook_query_tab_label_packing)
(_wrap_gtk_tooltips__get_active_tips_data)
(_wrap_gtk_tooltips__get_tips_data_list)
(_wrap_gtk_image_get_pixmap) (_wrap_gtk_image_get_image)
(_wrap_gtk_image_get_stock) (_wrap_gtk_image_get_icon_set)
(_wrap_gtk_scrolled_window_get_policy)
(_wrap_gtk_tooltips_data_get) (_wrap_gtk_accel_map_lookup_entry)
Fix reference leaks.
* pango.override (pypango_attr_iterator_get_font)
Fix reference leaks.
Diffstat (limited to 'gtk/gtktreeview.override')
-rw-r--r-- | gtk/gtktreeview.override | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktreeview.override b/gtk/gtktreeview.override index 672af434..0ebb412c 100644 --- a/gtk/gtktreeview.override +++ b/gtk/gtktreeview.override @@ -486,7 +486,7 @@ _wrap_gtk_tree_view_get_cursor(PyGObject *self) py_column = Py_None; } - return Py_BuildValue("(OO)", py_path, py_column); + return Py_BuildValue("(NN)", py_path, py_column); } %% override gtk_tree_view_get_columns noargs @@ -995,7 +995,7 @@ _wrap_gtk_tree_sortable_get_sort_column_id(PyGObject *self) /* if we don't have a sort column set, return (None, None) */ if (ret) - return Py_BuildValue("(iO)", sort_column_id, + return Py_BuildValue("(iN)", sort_column_id, pyg_enum_from_gtype(GTK_TYPE_SORT_TYPE, order)); else return Py_BuildValue("(OO)", Py_None, Py_None); @@ -2252,7 +2252,7 @@ _wrap_gtk_tree_view_get_drag_dest_row(PyGObject *self) PyObject *py_path = pygtk_tree_path_to_pyobject(path); gint py_pos = (gint) pos; gtk_tree_path_free(path); - return Py_BuildValue("(OO)", py_path, + return Py_BuildValue("(NN)", py_path, pyg_enum_from_gtype(GTK_TYPE_TREE_VIEW_DROP_POSITION, py_pos)); } else { Py_INCREF(Py_None); @@ -2315,7 +2315,7 @@ _wrap_gtk_tree_view_get_dest_row_at_pos(PyGObject *self, PyObject *args, PyObject *py_path = pygtk_tree_path_to_pyobject(path); gint py_pos = (gint) pos; gtk_tree_path_free(path); - return Py_BuildValue("(OO)", py_path, + return Py_BuildValue("(NN)", py_path, pyg_enum_from_gtype(GTK_TYPE_TREE_VIEW_DROP_POSITION, py_pos)); } |