Public bug reported:

Once you set a clip mask to any GdkGC in PyGtk, you can not unset the
clip mask.

This makes the GdkGC useless if you need to draw with it again without a
clip mask. The X11 and GdkColor outside of PyGtk accept 0 or None as an
input to GdkGC::set_clip_mask()

To make things worse, this also throws an exception, causing the program
to stop running if it encounters a set_clip_mask(None).

** Affects: pygtk (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: clip exception gc mask none pygtk

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygtk in Ubuntu.
https://bugs.launchpad.net/bugs/1127820

Title:
  Unable to unset clip mask (gtk.gdk.GC set_clip_mask does not accept
  None)

Status in “pygtk” package in Ubuntu:
  New

Bug description:
  Once you set a clip mask to any GdkGC in PyGtk, you can not unset the
  clip mask.

  This makes the GdkGC useless if you need to draw with it again without
  a clip mask. The X11 and GdkColor outside of PyGtk accept 0 or None as
  an input to GdkGC::set_clip_mask()

  To make things worse, this also throws an exception, causing the
  program to stop running if it encounters a set_clip_mask(None).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/1127820/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to