mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 07:37:35 +00:00
application: initialize libcallaudio on startup
This commit is contained in:
parent
d304c9cb32
commit
20396ac951
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
|
||||
#include <glib/gi18n.h>
|
||||
#include <handy.h>
|
||||
#include <libcallaudio.h>
|
||||
#include <libebook-contacts/libebook-contacts.h>
|
||||
|
||||
/**
|
||||
|
@ -301,11 +302,17 @@ static void
|
|||
startup (GApplication *application)
|
||||
{
|
||||
GtkIconTheme *icon_theme;
|
||||
g_autoptr(GError) error = NULL;
|
||||
|
||||
G_APPLICATION_CLASS (calls_application_parent_class)->startup (application);
|
||||
|
||||
hdy_init ();
|
||||
|
||||
if (!call_audio_init (&error))
|
||||
{
|
||||
g_warning ("Failed to init libcallaudio: %s", error->message);
|
||||
}
|
||||
|
||||
g_set_prgname (APP_ID);
|
||||
g_set_application_name (_("Calls"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue