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

« back to all changes in this revision

Viewing changes to tests/failure-test.cc

  • Committer: Ted Gould
  • Date: 2014-04-30 16:34:06 UTC
  • mto: This revision was merged to the branch mainline in revision 150.
  • Revision ID: ted@gould.cx-20140430163406-g0fsuw3txq0g6ehk
Static analysis (compiler) detected fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
};
62
62
 
63
63
static void
64
 
failed_observer (const gchar * appid, ubuntu_app_launch_app_failed_t reason, gpointer user_data)
 
64
failed_observer (const gchar * appid, UbuntuAppLaunchAppFailed reason, gpointer user_data)
65
65
{
66
66
        if (reason == UBUNTU_APP_LAUNCH_APP_FAILED_CRASH) {
67
67
                std::string * last = static_cast<std::string *>(user_data);
121
121
}
122
122
 
123
123
static void
124
 
failed_start_observer (const gchar * appid, ubuntu_app_launch_app_failed_t reason, gpointer user_data)
 
124
failed_start_observer (const gchar * appid, UbuntuAppLaunchAppFailed reason, gpointer user_data)
125
125
{
126
126
        if (reason == UBUNTU_APP_LAUNCH_APP_FAILED_START_FAILURE) {
127
127
                std::string * last = static_cast<std::string *>(user_data);