GNOME Bugzilla – Bug 655486
Fix declarations of X types in xlib-2.0.gir
Last modified: 2015-02-07 17:01:24 UTC
xlib-2.0.gir contains subset of Xlib types, but all of them are declared as records. In reality, most of them are unsigned long numbers.
Created attachment 192808 [details] [review] Fixes xlib types declarations according to X11 headers
Review of attachment 192808 [details] [review]: Looks great, this will solve quite a few bugs, for instance showing a gstreamer stream in a drawable.
Review of attachment 192808 [details] [review]: Committed
Fixed and committed.
fwiw, this was causing very strange error messages and segfaults in gnome-shell until i rebuilt clutter against a version of gobject-introspection with the change. This is because ClutterX11.gir references the Pixmap type which changed here. Error messages were like: Window manager warning: Log level 8: g_function_info_get_flags: assertion `GI_IS_FUNCTION_INFO (info)' failed Window manager warning: Log level 8: g_callable_info_get_n_args: assertion `GI_IS_CALLABLE_INFO (info)' failed Window manager warning: Log level 8: g_callable_info_load_return_type: assertion `GI_IS_CALLABLE_INFO (info)' failed Window manager warning: Log level 8: g_type_info_get_tag: assertion `GI_IS_TYPE_INFO (info)' failed (to help people searching bugzilla) there was also a message assertion `G_IS_VALUE (value)' failed from g_value_peek_pointer
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]