summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-util.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2014-11-12 12:06:54 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2014-11-25 13:00:49 +0100
commit15c7d17b9683015edee76ec3840fed657f1cc95d (patch)
tree0b40473427a5cdba04ff9c93bdb580619b9b31b5 /src/virt-viewer-util.h
parent71f156caf5fbe5ad78c9caeb44f7a25c299ceba4 (diff)
downloadvirt-viewer-15c7d17b9683015edee76ec3840fed657f1cc95d.tar.gz
virt-viewer-15c7d17b9683015edee76ec3840fed657f1cc95d.tar.xz
virt-viewer-15c7d17b9683015edee76ec3840fed657f1cc95d.zip
Remove VIRT_VIEWER_VM_CHOOSE_DIALOG_CANCELLED
This error type isn't really an error, it is used to skip error report code. The functions can simply return FALSE on failure, without GError set, to indicate that program should quit normally.
Diffstat (limited to 'src/virt-viewer-util.h')
-rw-r--r--src/virt-viewer-util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/virt-viewer-util.h b/src/virt-viewer-util.h
index 262ecf8..1df81a5 100644
--- a/src/virt-viewer-util.h
+++ b/src/virt-viewer-util.h
@@ -30,7 +30,6 @@ extern gboolean doDebug;
enum {
VIRT_VIEWER_ERROR_FAILED,
- VIRT_VIEWER_VM_CHOOSE_DIALOG_CANCELLED,
};
#define VIRT_VIEWER_ERROR virt_viewer_error_quark ()