Bug 620582 - a simple GPermission implementation

add GSimplePermission, a trivial const implementation of GPermission

can-request and can-release are always false for this implementation and
the value of 'allowed' is decided at construction.
This commit is contained in:
Ryan Lortie
2010-06-04 22:32:01 +02:00
parent 0957f76878
commit 4733488178
8 changed files with 149 additions and 0 deletions

View File

@@ -333,6 +333,7 @@ libgio_2_0_la_SOURCES = \
gresolver.c \
gseekable.c \
gsimpleasyncresult.c \
gsimplepermission.c \
gsocket.c \
gsocketaddress.c \
gsocketaddressenumerator.c \
@@ -478,6 +479,7 @@ gio_headers = \
gresolver.h \
gseekable.h \
gsimpleasyncresult.h \
gsimplepermission.h \
gsocket.h \
gsocketaddress.h \
gsocketaddressenumerator.h \