projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3361105
)
output: Avoid functions added in GTK 2.14 in GUI output code.
author
Ben Pfaff
<blp@gnu.org>
Mon, 29 Jun 2009 04:26:59 +0000
(21:26 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Mon, 29 Jun 2009 04:26:59 +0000
(21:26 -0700)
src/ui/gui/psppire-output-window.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-output-window.c
b/src/ui/gui/psppire-output-window.c
index 1787271a528d011ad3505941688ff6b620821e1f..56d62904edac87253ca32e2b7ba3ce2e7be511d8 100644
(file)
--- a/
src/ui/gui/psppire-output-window.c
+++ b/
src/ui/gui/psppire-output-window.c
@@
-308,8
+308,8
@@
on_row_activate (GtkTreeView *overview,
g_value_unset (&value);
vadj = gtk_layout_get_vadjustment (window->output);
- min =
gtk_adjustment_get_lower (vadj)
;
- max =
gtk_adjustment_get_upper (vadj) - gtk_adjustment_get_page_size (vadj)
;
+ min =
vadj->lower
;
+ max =
vadj->upper - vadj->page_size
;
if (y < min)
y = min;
else if (y > max)