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 [email protected] 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.
--- src/gui_gtk_f.c.old	2009-09-05 15:16:25.000000000 +0200
+++ src/gui_gtk_f.c	2009-09-05 15:16:34.000000000 +0200
@@ -864,7 +864,6 @@
 
     static_gravity_supported = gdk_window_set_static_gravities(window,
 							       use_static);
-    g_return_if_fail(static_gravity_supported);
 #else
     XSetWindowAttributes xattributes;
 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to