mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 03:25:31 +00:00
Merge branch 'set-app-id' into 'master'
Make sure we use the correct app_id Closes #8 See merge request Librem5/calls!16
This commit is contained in:
commit
2f1db6aac2
1 changed files with 4 additions and 1 deletions
|
@ -31,6 +31,8 @@
|
|||
#include "calls-main-window.h"
|
||||
#include "calls-mm-provider.h"
|
||||
|
||||
#define APP_ID "sm.puri.Calls"
|
||||
|
||||
static void
|
||||
show_window (GtkApplication *app)
|
||||
{
|
||||
|
@ -67,7 +69,8 @@ main (int argc,
|
|||
GtkApplication *app;
|
||||
int status;
|
||||
|
||||
app = gtk_application_new ("sm.puri.Calls", G_APPLICATION_FLAGS_NONE);
|
||||
app = gtk_application_new (APP_ID, G_APPLICATION_FLAGS_NONE);
|
||||
g_set_prgname (APP_ID);
|
||||
g_signal_connect (app, "activate", G_CALLBACK (show_window), NULL);
|
||||
status = g_application_run (G_APPLICATION (app), argc, argv);
|
||||
g_object_unref (app);
|
||||
|
|
Loading…
Reference in a new issue