Ubuntu Pastebin

Paste from cjwatson at Thu, 10 Dec 2015 15:36:58 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
=== modified file 'libubuntu-app-launch/ubuntu-app-launch.c'
--- libubuntu-app-launch/ubuntu-app-launch.c	2015-08-17 21:38:29 +0000
+++ libubuntu-app-launch/ubuntu-app-launch.c	2015-12-10 15:36:54 +0000
@@ -2403,7 +2403,7 @@ ubuntu_app_launch_helper_set_exec (const
 	const gchar * job_name = g_getenv("UPSTART_JOB");
 	const gchar * instance_name = g_getenv("UPSTART_INSTANCE");
 	const gchar * demangler = g_getenv("UBUNTU_APP_LAUNCH_DEMANGLE_NAME");
-	g_return_if_fail(job_name != NULL);
+	g_return_val_if_fail(job_name != NULL, FALSE);
 
 	GError * error = NULL;
 	GDBusConnection * bus = g_bus_get_sync(G_BUS_TYPE_SESSION, NULL, &error);
Download as text