summaryrefslogtreecommitdiff
path: root/gtk/gtktreeview.override
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@src.gnome.org>2008-05-18 19:07:37 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2008-05-18 19:07:37 +0000
commit30bd7b96f5c36f7b9b34b4c457c779a8b99b3494 (patch)
treedb487fff1206774dc8bd6319da3cea6e08b4dee7 /gtk/gtktreeview.override
parent7d61e8b4257d1d0e124f019609ff29249fc26a7b (diff)
downloadpygtk-30bd7b96f5c36f7b9b34b4c457c779a8b99b3494.tar.gz
Revert wrong commit 2979
svn path=/trunk/; revision=2980
Diffstat (limited to 'gtk/gtktreeview.override')
-rw-r--r--gtk/gtktreeview.override36
1 files changed, 0 insertions, 36 deletions
diff --git a/gtk/gtktreeview.override b/gtk/gtktreeview.override
index c6dfe10e..3a549c87 100644
--- a/gtk/gtktreeview.override
+++ b/gtk/gtktreeview.override
@@ -3446,39 +3446,3 @@ _wrap_gtk_tree_view_convert_bin_window_to_tree_coords(PyGObject *self,
return Py_BuildValue("(ii)", tree_x, tree_y);
}
-%%
-override gtk_tree_view_get_tooltip_context kwargs
-static PyObject *
-_wrap_gtk_tree_view_get_tooltip_context(PyGObject *self,
- PyObject *args,
- PyObject *kwargs)
-{
- static char *kwlist[] = { "x", "y", "keyboard_tip", NULL };
-
- gboolean ret;
- PyObject *py_ret = Py_None, *py_keyboard_tip = Py_True;
- gint x, y;
- GtkTreeModel *tree_model;
- GtkTreePath *path;
- GtkTreeIter iter;
-
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "iiO:GtkTreeView.get_tooltip_context",
- kwlist, &x, &x, &py_keyboard_tip))
- return NULL;
-
- ret = gtk_tree_view_get_tooltip_context(GTK_TREE_VIEW(self->obj), &x, &y,
- PyObject_IsTrue(py_keyboard_tip),
- &tree_model,
- &path, &iter);
- if (ret) {
- py_ret = Py_BuildValue("(NNN)",
- pygobject_new((GObject *)tree_model),
- pygtk_tree_path_to_pyobject(path),
- pyg_boxed_new(GTK_TYPE_TREE_ITER, &iter,
- FALSE, FALSE));
-
- gtk_tree_path_free(path);
- }
- return py_ret;
-}