Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
vte
Commits
f9fcec51
Commit
f9fcec51
authored
Dec 02, 2010
by
Christian Persch
Browse files
Fix build with gtk3 master
parent
4fa7d35b
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
f9fcec51
...
...
@@ -61,7 +61,7 @@ case "$with_gtk" in
VTE_LIBRARY_SUFFIX=$VTE_API_VERSION
VTE_SEAL_CFLAGS="-DVTE_SEAL_ENABLE"
GTK_API_VERSION=3.0
GTK_REQUIRED=2.91.
0
GTK_REQUIRED=2.91.
6
;;
esac
...
...
src/vtebg.c
View file @
f9fcec51
...
...
@@ -240,10 +240,11 @@ vte_bg_get_for_screen(GdkScreen *screen)
window
=
gdk_screen_get_root_window
(
screen
);
pvt
->
native
.
window
=
window
;
pvt
->
native
.
native_window
=
gdk_x11_drawable_get_xid
(
window
);
#if GTK_CHECK_VERSION (2, 90, 8)
#if GTK_CHECK_VERSION (2, 91, 6)
pvt
->
native
.
native_window
=
GDK_WINDOW_XID
(
window
);
pvt
->
native
.
display
=
gdk_window_get_display
(
window
);
#else
pvt
->
native
.
native_window
=
gdk_x11_drawable_get_xid
(
window
);
pvt
->
native
.
display
=
gdk_drawable_get_display
(
GDK_DRAWABLE
(
window
));
#endif
pvt
->
native
.
native_atom
=
gdk_x11_get_xatom_by_name_for_display
(
pvt
->
native
.
display
,
"_XROOTPMAP_ID"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment