diff options
author | Michael Webster <miketwebster@gmail.com> | 2017-06-20 11:27:44 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-20 11:27:44 +0200 |
commit | 29eb6f83f6b9af5635952a3d117e1725ef9439e8 (patch) | |
tree | 7f0d74407cfdf59389a4af412652d94091ca3d12 | |
parent | 552dd36c2c012642643cba5692cb90c2300e4dd2 (diff) | |
download | arctica-greeter-29eb6f83f6b9af5635952a3d117e1725ef9439e8.tar.gz arctica-greeter-29eb6f83f6b9af5635952a3d117e1725ef9439e8.tar.bz2 arctica-greeter-29eb6f83f6b9af5635952a3d117e1725ef9439e8.zip |
src/prompt-box.vala: get_preferred_height() ovrride only needed with GTK3 >= 3.20.
-rw-r--r-- | src/prompt-box.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala index 49c2403..6d5bc13 100644 --- a/src/prompt-box.vala +++ b/src/prompt-box.vala @@ -296,6 +296,7 @@ public class PromptBox : FadableBox last_row = start_row; } +#if HAVE_GTK_3_20_0 private int round_to_grid (int size) { var num_grids = size / grid_size; @@ -315,6 +316,7 @@ public class PromptBox : FadableBox if (position <= -1 || position >= 1) min = nat = grid_size; } +#endif public void set_zone (Gtk.Widget zone) { |