~pitti/ubuntu-app-launch/upstart-dep

« back to all changes in this revision

Viewing changes to libupstart-app-launch/upstart-app-launch.c

  • Committer: CI bot
  • Author(s): Ted Gould
  • Date: 2014-05-21 17:40:50 UTC
  • mfrom: (144.2.7 bad-appid-recoverable-error)
  • Revision ID: ps-jenkins@lists.canonical.com-20140521174050-irehuj8zrr7tmvlf
More elegant handling of bad application id errors Fixes: 1238068

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
        g_variant_builder_open(&builder, G_VARIANT_TYPE_ARRAY);
229
229
 
230
230
        g_variant_builder_add_value(&builder, g_variant_new_take_string(g_strdup_printf("APP_ID=%s", appid)));
 
231
        g_variant_builder_add_value(&builder, g_variant_new_take_string(g_strdup_printf("APP_LAUNCHER_PID=%d", getpid())));
231
232
 
232
233
        if (uris != NULL) {
233
234
                gchar * urisjoin = app_uris_string(uris);