diff options
author | Robert Tari <robert@tari.in> | 2022-07-14 23:38:23 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-02 09:57:36 +0100 |
commit | 44a82a050cf69f8b04429f1f7e06d3ad7bf58ca7 (patch) | |
tree | 6f5b90ee0ca3e403feff50b30b3710aa07250eba /bindings | |
parent | cc27f130846557c5cfd5ad9cdac4c8fc61cab9c1 (diff) | |
download | libayatana-appindicator-44a82a050cf69f8b04429f1f7e06d3ad7bf58ca7.tar.gz libayatana-appindicator-44a82a050cf69f8b04429f1f7e06d3ad7bf58ca7.tar.bz2 libayatana-appindicator-44a82a050cf69f8b04429f1f7e06d3ad7bf58ca7.zip |
Fix remaining deprecation warnings
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/vala/examples/ayatana-indicator-example.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bindings/vala/examples/ayatana-indicator-example.vala b/bindings/vala/examples/ayatana-indicator-example.vala index 4804314..55535ab 100644 --- a/bindings/vala/examples/ayatana-indicator-example.vala +++ b/bindings/vala/examples/ayatana-indicator-example.vala @@ -1,5 +1,6 @@ /* * Copyright 2011 Canonical Ltd. + * Copyright 2022 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -15,6 +16,7 @@ * * Authors: * Marco Trevisan (TreviƱo) <mail@3v1n0.net> + * Robert Tari <robert@tari.in> */ using Gtk; @@ -37,7 +39,7 @@ public class IndicatorExample { if (!(indicator is Indicator)) return -1; indicator.set_status(IndicatorStatus.ACTIVE); - indicator.set_attention_icon("indicator-messages-new"); + indicator.set_attention_icon_full("indicator-messages-new", null); var menu = new Gtk.Menu(); |