Bug#545168: Shouldn't print assertion warnings if static gravity isn't supported

Sebastian Dröge slomo at circular-chaos.org
Sat Sep 5 13:17:33 UTC 2009


Package: vim-gtk
Version: 2:7.2.245-2
Severity: minor

Hi,
starting with GTK+ 2.17 static gravity isn't supported anymore for
non-native windows. This results in many assertion warnings when
starting gvim:

** (gvim:14999): CRITICAL **: gtk_form_set_static_gravity: assertion
`static_gravity_supported' failed

** (gvim:14999): CRITICAL **: gtk_form_set_static_gravity: assertion
`static_gravity_supported' failed


Solution is the attached patch. I've also reported this issue upstream
at bugs at vim.org and I hope it will be fixed soonish there too.

Thanks

PS: Note that this is no API/ABI change in GTK+. The docs claimed from
the beginning that this is not guaranteed to be supported because many X
servers don't support it, etc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vim.diff
Type: text/x-patch
Size: 345 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090905/2d57bdc2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090905/2d57bdc2/attachment.pgp>


More information about the pkg-vim-maintainers mailing list