2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 15:15:13 +00:00

Update glibmm to latest version

This commit is contained in:
Ilya Fedin
2022-11-03 13:41:18 +04:00
committed by John Preston
parent 67d99355ca
commit 1336a7149b
9 changed files with 33 additions and 64 deletions

View File

@@ -70,7 +70,7 @@ void PortalAutostart(bool start, bool silent) {
try {
const auto connection = Gio::DBus::Connection::get_sync(
Gio::DBus::BusType::BUS_TYPE_SESSION);
Gio::DBus::BusType::SESSION);
const auto parentWindowId = [&]() -> Glib::ustring {
const auto activeWindow = Core::App().activeWindow();
@@ -165,7 +165,7 @@ void PortalAutostart(bool start, bool silent) {
window.show();
loop->run();
}
} catch (const Glib::Error &e) {
} catch (const std::exception &e) {
if (!silent) {
LOG(("Portal Autostart Error: %1").arg(
QString::fromStdString(e.what())));
@@ -464,7 +464,7 @@ void start() {
Gio::init();
Glib::set_prgname(cExeName().toStdString());
Glib::set_application_name(std::string(AppName));
Glib::set_application_name(AppName.data());
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
g_warning(