aboutsummaryrefslogtreecommitdiff
path: root/src/prompt-box.vala
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2016-09-15 08:53:16 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-15 08:53:16 +0000
commitfabfbff17ffca9ffbec69640469b728f5e149325 (patch)
tree747962fd1d96897d29a9bf5b626c267d00f99ec9 /src/prompt-box.vala
parentb20befface6bc648db012aa56352a1ab7789ff0c (diff)
downloadarctica-greeter-fabfbff17ffca9ffbec69640469b728f5e149325.tar.gz
arctica-greeter-fabfbff17ffca9ffbec69640469b728f5e149325.tar.bz2
arctica-greeter-fabfbff17ffca9ffbec69640469b728f5e149325.zip
Work around Vala trying to use a new GTK 3.20 function.
Diffstat (limited to 'src/prompt-box.vala')
-rw-r--r--src/prompt-box.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prompt-box.vala b/src/prompt-box.vala
index e77e0d6..419f56d 100644
--- a/src/prompt-box.vala
+++ b/src/prompt-box.vala
@@ -207,7 +207,7 @@ public class PromptBox : FadableBox
option_button.valign = Gtk.Align.START;
// Keep as much space on top as on the right
option_button.margin_top = ActiveIndicator.WIDTH + box_grid.column_spacing;
- option_button.focus_on_click = false;
+ Gtk.button_set_focus_on_click (option_button, false);
option_button.relief = Gtk.ReliefStyle.NONE;
option_button.get_accessible ().set_name (_("Session Options"));
option_button.clicked.connect (option_button_clicked_cb);