diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2022-08-09 21:39:59 +0200 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2022-08-09 21:39:59 +0200 |
commit | 641aa88d1cfb93695cd15f7fed462787917e5f0e (patch) | |
tree | e6606eea2b3d3b36b742de672fab901e9eeb4671 /src | |
parent | a62359ff2d51ed762578fe098f83036dd8e37176 (diff) | |
download | gnome-contacts-641aa88d1cfb93695cd15f7fed462787917e5f0e.tar.gz |
contact-sheet: Set title-selectable property directly
We depend on libadwaita 1.2 now, so we no longer have to check whether
the property exists already.
Diffstat (limited to 'src')
-rw-r--r-- | src/contacts-contact-sheet.vala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala index 17f6940..916ddbf 100644 --- a/src/contacts-contact-sheet.vala +++ b/src/contacts-contact-sheet.vala @@ -20,9 +20,7 @@ using Folks; public class Contacts.ContactSheetRow : Adw.ActionRow { construct { - // FIXME, once we can depend on libadwaita 1.1, do this directly - if (this.get_class ().find_property ("title-selectable") != null) - this.set_property ("title-selectable", true); + this.title_selectable = true; } public ContactSheetRow (string property_name, string title, string? subtitle = null) { |