Package: gir1.2-gtk-3.0
Version: 3.0.12-1
Severity: normal

If I try to use Gtk.Widget.style_get_property() in python I get the
error:

TypeError: style_get_property() takes exactly 3 argument(s) (2 given)

The C prototype is:

void gtk_widget_style_get_property (GtkWidget *widget,
        const gchar *property_name, GValue *value);

gir must have overlooked that the value should be returned in python,
not have its address passed as a 3rd argument.

There is no style_get() method so I don't seem to be able to read style
properties at all in python.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gir1.2-gtk-3.0 depends on:
ii  gir1.2-atk-1.0                2.0.1-2    ATK accessibility toolkit (GObject
ii  gir1.2-freedesktop            0.10.8-2   Introspection data for some FreeDe
ii  gir1.2-gdkpixbuf-2.0          2.23.5-3   GDK Pixbuf library - GObject-Intro
ii  gir1.2-glib-2.0               0.10.8-2   Introspection data for GLib, GObje
ii  gir1.2-pango-1.0              1.28.4-2   Layout and rendering of internatio
ii  libgtk-3-0                    3.0.12-1   GTK+ graphical user interface libr
ii  libgtk-3-common               3.0.12-1   common files for the GTK+ graphica

gir1.2-gtk-3.0 recommends no packages.

gir1.2-gtk-3.0 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to