diff options
author | infirit <[email protected]> | 2015-07-09 16:10:09 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-09 16:10:09 +0200 |
commit | 88dc45f1bbe2ecf9d1d3fa6cedf09fa425a202ae (patch) | |
tree | bd9deb665dca1dd8e84c6d0b9573d03cf9a7ced9 /eel | |
parent | db6b62171abd6dbfcc0c8f9c928f29af445831cc (diff) | |
download | caja-88dc45f1bbe2ecf9d1d3fa6cedf09fa425a202ae.tar.bz2 caja-88dc45f1bbe2ecf9d1d3fa6cedf09fa425a202ae.tar.xz |
Use accessor functions instead of direct access
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-wrap-table.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/eel/eel-wrap-table.c b/eel/eel-wrap-table.c index 2107ceca..d925eadb 100644 --- a/eel/eel-wrap-table.c +++ b/eel/eel-wrap-table.c @@ -799,13 +799,8 @@ wrap_table_child_focus_in (GtkWidget *widget, gtk_widget_translate_coordinates (widget, container, 0, 0, &x, &y); -#if GTK_CHECK_VERSION (3, 0, 0) gtk_adjustment_set_value (hadj, MIN (x, gtk_adjustment_get_upper(hadj) - gtk_adjustment_get_page_size(hadj))); gtk_adjustment_set_value (vadj, MIN (y, gtk_adjustment_get_upper(vadj) - gtk_adjustment_get_page_size(vadj))); -#else - gtk_adjustment_set_value (hadj, MIN (x, hadj->upper - hadj->page_size)); - gtk_adjustment_set_value (vadj, MIN (y, vadj->upper - vadj->page_size)); -#endif } return FALSE; |