diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-28 17:30:07 -0700 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-28 17:30:07 -0700 |
commit | 287a91fa3002f1571982fcc6a507c2ea4106e053 (patch) | |
tree | 3b038c4ba9a7af866f025c5d92e701de926e74e2 /src/service.vala | |
parent | 642b8860224faced6696fc182c0a487e83b5f121 (diff) | |
download | ayatana-indicator-sound-287a91fa3002f1571982fcc6a507c2ea4106e053.tar.gz ayatana-indicator-sound-287a91fa3002f1571982fcc6a507c2ea4106e053.tar.bz2 ayatana-indicator-sound-287a91fa3002f1571982fcc6a507c2ea4106e053.zip |
Stop using g_icon_serialize() directly
Vala 0.20 now comes with a gio-2.0.vapi that has Icon.serialize().
Diffstat (limited to 'src/service.vala')
-rw-r--r-- | src/service.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala index aa992ff..7dc6824 100644 --- a/src/service.vala +++ b/src/service.vala @@ -140,7 +140,7 @@ public class IndicatorSound.Service { static Variant serialize_themed_icon (string icon_name) { var icon = new ThemedIcon.with_default_fallbacks (icon_name); - return g_icon_serialize (icon); + return icon.serialize (); } void update_root_icon () { |