mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
Set prgname and application name before glibmm initialization
This ensures possible warnings use right process name
This commit is contained in:
@@ -724,12 +724,12 @@ void start() {
|
|||||||
qputenv("PULSE_PROP_application.icon_name", base::IconName().toLatin1());
|
qputenv("PULSE_PROP_application.icon_name", base::IconName().toLatin1());
|
||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
Glib::init();
|
|
||||||
Gio::init();
|
|
||||||
|
|
||||||
Glib::set_prgname(cExeName().toStdString());
|
Glib::set_prgname(cExeName().toStdString());
|
||||||
Glib::set_application_name(AppName.data());
|
Glib::set_application_name(AppName.data());
|
||||||
|
|
||||||
|
Glib::init();
|
||||||
|
Gio::init();
|
||||||
|
|
||||||
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
||||||
g_warning(
|
g_warning(
|
||||||
"Application has been built with foreign rlottie, "
|
"Application has been built with foreign rlottie, "
|
||||||
|
Reference in New Issue
Block a user