Crash when trying to get a GtkBorder style property




Hi,

The following example causes a segfault both
in Python2 and Python3 in Ubuntu 12.10
(PyGI 3.4.0)

from gi.repository import GObject, Gtk

value = GObject.Value()
value.init(Gtk.Border)

button = Gtk.Button()
button.style_get_property('inner-border', value)

print(value.get_boxed())

before reporting a bug, I wanted to confirm
I'm doing everything right. GtkBorder is a
boxed type, right?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]