~mir-team/ubuntu-app-launch/mir-release-0.14.0

« back to all changes in this revision

Viewing changes to tools/ubuntu-app-pid.c

  • Committer: Ted Gould
  • Date: 2014-05-27 09:05:52 UTC
  • mfrom: (144.4.10 rename)
  • Revision ID: ted@gould.cx-20140527090552-0f00argr3u5l5gqc
Rename to Ubuntu App Launch

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *     Ted Gould <ted.gould@canonical.com>
18
18
 */
19
19
 
20
 
#include "libupstart-app-launch/upstart-app-launch.h"
 
20
#include "libubuntu-app-launch/ubuntu-app-launch.h"
21
21
 
22
22
int
23
23
main (int argc, gchar * argv[]) {
27
27
                return 1;
28
28
        }
29
29
 
30
 
        GPid pid = upstart_app_launch_get_primary_pid(argv[1]);
 
30
        GPid pid = ubuntu_app_launch_get_primary_pid(argv[1]);
31
31
 
32
32
        if (pid == 0) {
33
33
                return 1;