mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-23 20:15:32 +00:00
application: Guard against setting application name twice
This is useful for testing the CallsApplication.
This commit is contained in:
parent
ac6aff798d
commit
b49e086549
1 changed files with 5 additions and 2 deletions
|
@ -474,7 +474,10 @@ startup (GApplication *application)
|
|||
|
||||
cui_init (TRUE);
|
||||
|
||||
if (!g_get_prgname ())
|
||||
g_set_prgname (APP_ID);
|
||||
|
||||
if (!g_get_application_name ())
|
||||
g_set_application_name (_("Calls"));
|
||||
|
||||
g_action_map_add_action_entries (G_ACTION_MAP (application),
|
||||
|
|
Loading…
Reference in a new issue