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
Index: gnome-python-desktop-2.30.0/wnck/wnck.defs
===================================================================
--- gnome-python-desktop-2.30.0.orig/wnck/wnck.defs	2010-09-19 14:10:02.209931191 +0100
+++ gnome-python-desktop-2.30.0/wnck/wnck.defs	2010-09-19 14:11:42.001953580 +0100
@@ -100,7 +100,7 @@
   )
 )
 
-(define-enum WindowState
+(define-flags WindowState
   (in-module "Wnck")
   (c-name "WnckWindowState")
   (gtype-id "WNCK_TYPE_WINDOW_STATE")
@@ -121,7 +121,7 @@
   )
 )
 
-(define-enum WindowActions
+(define-flags WindowActions
   (in-module "Wnck")
   (c-name "WnckWindowActions")
   (gtype-id "WNCK_TYPE_WINDOW_ACTIONS")
@@ -184,7 +184,7 @@
   )
 )
 
-(define-enum WindowMoveResizeMask
+(define-flags WindowMoveResizeMask
   (in-module "Wnck")
   (c-name "WnckWindowMoveResizeMask")
   (gtype-id "WNCK_TYPE_WINDOW_MOVE_RESIZE_MASK")

Reply via email to