Commit b5604a1b authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #19682: gnome: register the application

Otherwise the application will crash as soon as we try to add a window.
parent d3ad746f
......@@ -119,6 +119,7 @@ main(int argc, char *argv[])
g_set_application_name("SFLphone");
SFLPhoneClient *client = sflphone_client_new();
g_application_register(G_APPLICATION(client), NULL, NULL);
g_timeout_add(1000, check_interrupted, client);
GError *error = NULL;
......
......@@ -82,7 +82,7 @@ sflphone_client_dispose(GObject *object)
}
/* Chain up to the parent class */
G_OBJECT_CLASS (sflphone_client_parent_class)->dispose(object);
G_OBJECT_CLASS(sflphone_client_parent_class)->dispose(object);
}
static void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment