diff options
author | raveit65 <[email protected]> | 2016-10-16 07:36:03 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-10-17 06:14:45 +0200 |
commit | a7ef765a1c9f1d7796a4e168ae2398af2368d3ad (patch) | |
tree | 28b95487ca998d5d2c73036be2f374d74cdec40a /eel/eel-gtk-extensions.h | |
parent | bd47a43c073a6938a25d9b8f98ff70e73a09a747 (diff) | |
download | caja-a7ef765a1c9f1d7796a4e168ae2398af2368d3ad.tar.bz2 caja-a7ef765a1c9f1d7796a4e168ae2398af2368d3ad.tar.xz |
Gtk+-2: add eel_gtk_adjustment* functions again
This reverts https://github.com/mate-desktop/caja/commit/f02d495 for gtk2
fixes https://github.com/mate-desktop/caja/issues/659
Diffstat (limited to 'eel/eel-gtk-extensions.h')
-rw-r--r-- | eel/eel-gtk-extensions.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eel/eel-gtk-extensions.h b/eel/eel-gtk-extensions.h index aec680f3..fd85c2db 100644 --- a/eel/eel-gtk-extensions.h +++ b/eel/eel-gtk-extensions.h @@ -63,7 +63,12 @@ GtkWidget * eel_gtk_menu_tool_button_get_button (GtkMenuTo /* GtkLabel */ void eel_gtk_label_make_bold (GtkLabel *label); - +#if !GTK_CHECK_VERSION (3, 0, 0) +/* GtkAdjustment */ +void eel_gtk_adjustment_set_value (GtkAdjustment *adjustment, + float value); +void eel_gtk_adjustment_clamp_value (GtkAdjustment *adjustment); +#endif /* GtkTreeView */ void eel_gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view, gboolean should_activate); |