mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Get GApplication out of experimental settings
GApplication will always be used on Linux now. GNotification gets a toggle instead.
This commit is contained in:
@@ -74,8 +74,20 @@ struct custom_is_fast_copy_type<Window::Notifications::ChangeType> : std::true_t
|
||||
|
||||
} // namespace base
|
||||
|
||||
namespace base::options {
|
||||
|
||||
template <typename Type>
|
||||
class option;
|
||||
|
||||
using toggle = option<bool>;
|
||||
|
||||
} // namespace base::options
|
||||
|
||||
namespace Window::Notifications {
|
||||
|
||||
extern const char kOptionGNotification[];
|
||||
extern base::options::toggle OptionGNotification;
|
||||
|
||||
class Manager;
|
||||
|
||||
class System final {
|
||||
|
Reference in New Issue
Block a user