Crash when trying to get a GtkBorder style property
- From: Conscious User <conscioususer gmail com>
- To: python-hackers-list gnome org
- Subject: Crash when trying to get a GtkBorder style property
- Date: Sun, 09 Dec 2012 13:14:32 -0200
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]