Commit 21618f9d authored by Guido Gunther's avatar Guido Gunther
Browse files

Make it easy to use app id in C code

parent 55e94862
......@@ -10,6 +10,7 @@ i18n = import('i18n')
cc = meson.get_compiler('c')
config_h = configuration_data()
config_h.set_quoted('APP_ID', 'org.sigxcpu.Livi')
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
config_h.set_quoted('GETTEXT_PACKAGE', 'livi')
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
......
......@@ -142,7 +142,7 @@ main (int argc,
gst_init (&argc, &argv);
app = GTK_APPLICATION (g_object_new (GTK_TYPE_APPLICATION,
"application-id", "org.sigxcpu.Livi",
"application-id", APP_ID,
"flags", G_APPLICATION_HANDLES_COMMAND_LINE,
"register-session", TRUE,
NULL));
......
Markdown is supported
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