Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 450246
Collapse All | Expand All

(-)pygtk-2.24.0.orig/pangocairo.override (-1 / +6 lines)
Lines 119-128 Link Here
119
_wrap_pango_cairo_create_layout(PyGObject *self)
119
_wrap_pango_cairo_create_layout(PyGObject *self)
120
{
120
{
121
    PangoLayout *ret;
121
    PangoLayout *ret;
122
    PyObject *py_ret;
122
123
123
    ret = pango_cairo_create_layout(PycairoContext_GET(self));
124
    ret = pango_cairo_create_layout(PycairoContext_GET(self));
124
    /* pygobject_new handles NULL checking */
125
    /* pygobject_new handles NULL checking */
125
    return pygobject_new((GObject *)ret);
126
    py_ret = pygobject_new((GObject *) ret);
127
    if (ret) {
128
	g_object_unref(ret);
129
    }
130
    return py_ret;
126
}
131
}
127
132
128
static PyObject *
133
static PyObject *

Return to bug 450246