mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Set prgname and application name before glibmm initialization
This ensures possible warnings use right process name
This commit is contained in:
parent
fc8d1e21e8
commit
b62e1d5036
1 changed files with 3 additions and 3 deletions
|
@ -724,12 +724,12 @@ void start() {
|
|||
qputenv("PULSE_PROP_application.icon_name", base::IconName().toLatin1());
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
Glib::init();
|
||||
Gio::init();
|
||||
|
||||
Glib::set_prgname(cExeName().toStdString());
|
||||
Glib::set_application_name(AppName.data());
|
||||
|
||||
Glib::init();
|
||||
Gio::init();
|
||||
|
||||
#ifdef DESKTOP_APP_USE_PACKAGED_RLOTTIE
|
||||
g_warning(
|
||||
"Application has been built with foreign rlottie, "
|
||||
|
|
Loading…
Add table
Reference in a new issue