aboutsummaryrefslogtreecommitdiffstats
path: root/src/epiphany.override
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-12-30 08:24:40 +0800
committerXan Lopez <xan@src.gnome.org>2007-12-30 08:24:40 +0800
commite63a085bb01b783057e0cba91725f3af884d3292 (patch)
tree233f547200605c4001be2972b40ba516f976ce46 /src/epiphany.override
parent2a776b7f4ea30e814b2703a50633143b5b0ebc95 (diff)
downloadgsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.tar
gsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.tar.gz
gsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.tar.bz2
gsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.tar.lz
gsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.tar.xz
gsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.tar.zst
gsoc2013-epiphany-e63a085bb01b783057e0cba91725f3af884d3292.zip
Port ephy-window.c to the new API, remove old API.
Closes bug #506005 svn path=/trunk/; revision=7836
Diffstat (limited to 'src/epiphany.override')
-rw-r--r--src/epiphany.override54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/epiphany.override b/src/epiphany.override
index f669da9c4..44b60d66d 100644
--- a/src/epiphany.override
+++ b/src/epiphany.override
@@ -270,60 +270,6 @@ _wrap_ephy_window_get_tabs(PyGObject *self)
return py_list;
}
%%
-override ephy_embed_shistory_get_nth kwargs
-static PyObject*
-_wrap_ephy_embed_shistory_get_nth (PyGObject *self,
- PyObject *args, PyObject *kwargs)
-{
- static char *kwlist[] = {"nth", "is_relative", NULL};
- int nth, is_relative;
- char *url, *title;
- PyObject *py_url, *py_title;
- PyObject *py_list;
-
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "ii:EphyEmbed.shistory_get_nth", kwlist,
- &nth, &is_relative)) {
- return NULL;
- }
-
- ephy_embed_shistory_get_nth (EPHY_EMBED (self->obj), nth, is_relative,
- &url, &title);
-
- if (!url || !title) {
- return Py_None;
- }
-
- if ((py_list = PyList_New(0)) == NULL) {
- g_free (url);
- g_free (title);
- return NULL;
- }
-
- py_url = PyString_FromString (url);
- g_free (url);
- if (!py_url) {
- g_free (title);
- Py_DECREF(py_list);
- return NULL;
- }
-
- PyList_Append(py_list, py_url);
- Py_DECREF(py_url);
-
- py_title = PyString_FromString (title);
- g_free (title);
-
- if (!py_title) {
- Py_DECREF(py_list);
- return NULL;
- }
-
- PyList_Append(py_list, py_title);
- Py_DECREF(py_title);
- return py_list;
-}
-%%
override ephy_embed_get_go_up_list noargs
static PyObject*
_wrap_ephy_embed_get_go_up_list (PyGObject *self)