Commit 3dd360a2 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fail if pid is given but there is something wrong with the given pid

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent c6e7d32c
......@@ -469,7 +469,7 @@ iterate_instances_call_synctex_view(const char* filename,
const bool ret = call_synctex_view(connection, filename, well_known_name,
input_file, line, column);
g_free(well_known_name);
return ret ? 1 : 0;
return ret ? 1 : -1;
}
GVariant* vnames = g_dbus_connection_call_sync(
......
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