Fix _get_error() in the manager

Fix wrong assumption of semantics when fp_discover_devs()
returns NULL.
This commit is contained in:
Bastien Nocera
2008-05-14 18:25:40 +01:00
committed by Daniel Drake
parent 5dafd66eb8
commit 3a0152e124
3 changed files with 5 additions and 1 deletions

View File

@ -31,6 +31,7 @@ GQuark fprint_error_quark(void);
/* Errors */
#define FPRINT_ERROR fprint_error_quark()
typedef enum {
FPRINT_ERROR_INTERNAL,
FPRINT_ERROR_DISCOVER_PRINTS,
FPRINT_ERROR_PRINT_NOT_FOUND,
FPRINT_ERROR_PRINT_LOAD,