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
d5125165
Commit
d5125165
authored
Oct 31, 2010
by
Brandon Ehle
Committed by
Christian Persch
Oct 31, 2010
Browse files
Fix a compile error when using an older version of GTK+.
parent
a6c00984
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vte.c
View file @
d5125165
...
...
@@ -7844,6 +7844,7 @@ vte_terminal_handle_scroll(VteTerminal *terminal)
}
}
#if GTK_CHECK_VERSION (2, 91, 2)
static
void
vte_terminal_set_hadjustment
(
VteTerminal
*
terminal
,
GtkAdjustment
*
adjustment
)
...
...
@@ -7858,6 +7859,7 @@ vte_terminal_set_hadjustment(VteTerminal *terminal,
pvt
->
hadjustment
=
adjustment
?
g_object_ref_sink
(
adjustment
)
:
NULL
;
}
#endif
static
void
vte_terminal_set_vadjustment
(
VteTerminal
*
terminal
,
...
...
@@ -8122,9 +8124,10 @@ vte_terminal_init(VteTerminal *terminal)
/* GtkScrollable */
pvt
->
hscroll_policy
=
GTK_SCROLL_NATURAL
;
pvt
->
vscroll_policy
=
GTK_SCROLL_NATURAL
;
#endif
vte_terminal_set_hadjustment
(
terminal
,
NULL
);
#endif
vte_terminal_set_vadjustment
(
terminal
,
NULL
);
...
...
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