GNOME Bugzilla – Bug 660151
check x11 backend in runtime
Last modified: 2011-10-28 12:11:11 UTC
Created attachment 197492 [details] [review] check x11 backend in runtime gtk 3.x can build with multiple gdk backends, and it can be set in runtime. So vte must check gdk backend in runtime, too.
vte isn't usable on anything non-unix, so I don't see what the point of this patch would be?
Well there's gtk-wayland backend...
And there's gtk-broadway backend, too.
Alright then. +#if GTK_CHECK_VERSION (2, 91, 6) + if (GDK_IS_X11_DISPLAY(gdk_display_get_default())) +#endif Lose the version check; vte 0.30 only supports gtk3. Also, don't use the default display, use the display of the GdkScreen passed into this function.
Created attachment 197580 [details] [review] check x11 backend in runtime update patch as comment #4
Comment on attachment 197580 [details] [review] check x11 backend in runtime Commit to the vte-0-30 branch only.
Committed to vte-0-32 branch. In future, please always attach patches in git format-patch format.