mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Skip GdkX11GLContext in some object tests
Since it can't be constructed without specifying a GdkWindow, which we don't have here.
This commit is contained in:
parent
6440263ef3
commit
0f309c9dcf
@ -389,7 +389,8 @@ test_type (gconstpointer data)
|
||||
g_str_equal (g_type_name (type), "GdkX11DeviceManagerXI2") ||
|
||||
g_str_equal (g_type_name (type), "GdkX11Display") ||
|
||||
g_str_equal (g_type_name (type), "GdkX11DisplayManager") ||
|
||||
g_str_equal (g_type_name (type), "GdkX11Screen"))
|
||||
g_str_equal (g_type_name (type), "GdkX11Screen") ||
|
||||
g_str_equal (g_type_name (type), "GdkX11GLContext"))
|
||||
return;
|
||||
|
||||
/* This throws a critical when the connection is dropped */
|
||||
|
@ -114,6 +114,7 @@ main (int argc, char **argv)
|
||||
all_types[i] != GDK_TYPE_X11_DISPLAY &&
|
||||
all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_XI2 &&
|
||||
all_types[i] != GDK_TYPE_X11_DISPLAY_MANAGER &&
|
||||
all_types[i] != GDK_TYPE_X11_GL_CONTEXT &&
|
||||
#endif
|
||||
/* Not allowed to finalize a GdkPixbufLoader without calling gdk_pixbuf_loader_close() */
|
||||
all_types[i] != GDK_TYPE_PIXBUF_LOADER &&
|
||||
|
Loading…
Reference in New Issue
Block a user