fix(tray): ignore unused WindowId property

pull/1145/head
Aleksei Bavshin 2021-06-23 00:27:30 -07:00
parent 811f0896c9
commit 929fc16994
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
2 changed files with 0 additions and 3 deletions

View File

@ -30,7 +30,6 @@ class Item : public sigc::trackable {
std::string status; std::string status;
std::string title; std::string title;
int32_t window_id;
std::string icon_name; std::string icon_name;
Glib::RefPtr<Gdk::Pixbuf> icon_pixmap; Glib::RefPtr<Gdk::Pixbuf> icon_pixmap;
Glib::RefPtr<Gtk::IconTheme> icon_theme; Glib::RefPtr<Gtk::IconTheme> icon_theme;

View File

@ -105,8 +105,6 @@ void Item::setProperty(const Glib::ustring& name, Glib::VariantBase& value) {
title = get_variant<std::string>(value); title = get_variant<std::string>(value);
} else if (name == "Status") { } else if (name == "Status") {
status = get_variant<std::string>(value); status = get_variant<std::string>(value);
} else if (name == "WindowId") {
window_id = get_variant<int32_t>(value);
} else if (name == "IconName") { } else if (name == "IconName") {
icon_name = get_variant<std::string>(value); icon_name = get_variant<std::string>(value);
} else if (name == "IconPixmap") { } else if (name == "IconPixmap") {