Add standard errors needed for portal

This commit is contained in:
Alexander Larsson
2015-10-21 14:29:00 +02:00
parent f4eefa7e04
commit 49af288937
2 changed files with 4 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ static const GDBusErrorEntry xdg_app_error_entries[] = {
{XDG_APP_ERROR_NOT_FOUND, "org.freedesktop.XdgApp.NotFound"},
{XDG_APP_ERROR_EXISTS, "org.freedesktop.XdgApp.Exists"},
{XDG_APP_ERROR_NOT_ALLOWED, "org.freedesktop.XdgApp.NotAllowed"},
{XDG_APP_ERROR_CANCELLED, "org.freedesktop.XdgApp.Cancelled"},
{XDG_APP_ERROR_WINDOW_DESTROYED, "org.freedesktop.XdgApp.WindowDestroyed"},
};
GQuark

View File

@@ -35,6 +35,8 @@ typedef enum {
XDG_APP_ERROR_NOT_FOUND,
XDG_APP_ERROR_EXISTS,
XDG_APP_ERROR_NOT_ALLOWED,
XDG_APP_ERROR_CANCELLED,
XDG_APP_ERROR_WINDOW_DESTROYED,
} XdgAppErrorEnum;