fix use of translate_error

Signed-off-by: Mattias Andrée <maandree@operamail.com>
gamma-x-randr: read connector info

Signed-off-by: Mattias Andrée <maandree@operamail.com>
gamma-x-randr use connector name to get connector type

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
gamma-x-randr: crtc info: jump if the output information is not required

Signed-off-by: Mattias Andrée <maandree@operamail.com>