Bug#597414: python-wnck: constants defined as enum instead of flags

Tony Houghton h at realh.co.uk
Sun Sep 19 13:50:30 UTC 2010


Package: python-wnck
Version: 2.30.0-2
Severity: important
Tags: upstream patch

WindowState, WindowActions and WindowMoveResizeMask are defined as enums
when they should be flags. This causes the module to print warnings when
imported and exceptions when a program tries to use one of the
constants. Please see also:
<https://bugzilla.gnome.org/show_bug.cgi?id=630063>.

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

Kernel: Linux 2.6.34-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/bash

Versions of packages python-wnck depends on:
ii  libatk1.0-0                  1.30.0-1    The ATK accessibility toolkit
ii  libc6                        2.11.2-6    Embedded GNU C Library: Shared lib
ii  libcairo2                    1.8.10-6    The Cairo 2D vector graphics libra
ii  libfontconfig1               2.8.0-2.1   generic font configuration library
ii  libfreetype6                 2.4.2-2     FreeType 2 font engine, shared lib
ii  libglib2.0-0                 2.24.2-1    The GLib library of C routines
ii  libgtk2.0-0                  2.20.1-1+b1 The GTK+ graphical user interface 
ii  libpango1.0-0                1.28.1-1    Layout and rendering of internatio
ii  libwnck22                    2.30.3-1    Window Navigator Construction Kit 
ii  python                       2.6.6-1     interactive high-level object-orie
ii  python-gtk2                  2.17.0-4    Python bindings for the GTK+ widge
ii  python-support               1.0.10      automated rebuilding support for P

python-wnck recommends no packages.

python-wnck suggests no packages.

-- no debconf information

-- 
TH * http://www.realh.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10_wnck_defs.patch
Type: text/x-diff
Size: 857 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100919/a1243e72/attachment.patch>


More information about the pkg-gnome-maintainers mailing list