projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[kdbus] Add new library API for common tasks on dbus/kdbus
[platform/upstream/glib.git]
/
gio
/
gsimplepermission.c
diff --git
a/gio/gsimplepermission.c
b/gio/gsimplepermission.c
index
c932c2c
..
5f3161e
100644
(file)
--- a/
gio/gsimplepermission.c
+++ b/
gio/gsimplepermission.c
@@
-12,9
+12,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Author: Ryan Lortie <desrt@desrt.ca>
*/
*
* Author: Ryan Lortie <desrt@desrt.ca>
*/
@@
-29,10
+27,11
@@
* SECTION:gsimplepermission
* @title: GSimplePermission
* @short_description: A GPermission that doesn't change value
* SECTION:gsimplepermission
* @title: GSimplePermission
* @short_description: A GPermission that doesn't change value
+ * @include: gio/gio.h
*
* #GSimplePermission is a trivial implementation of #GPermission that
* represents a permission that is either always or never allowed. The
*
* #GSimplePermission is a trivial implementation of #GPermission that
* represents a permission that is either always or never allowed. The
- * value is given at constuction and doesn't change.
+ * value is given at const
r
uction and doesn't change.
*
* Calling request or release will result in errors.
**/
*
* Calling request or release will result in errors.
**/
@@
-66,11
+65,12
@@
g_simple_permission_class_init (GSimplePermissionClass *class)
/**
* g_simple_permission_new:
* @allowed: %TRUE if the action is allowed
/**
* g_simple_permission_new:
* @allowed: %TRUE if the action is allowed
- * @returns: the #GSimplePermission, as a #GPermission
*
* Creates a new #GPermission instance that represents an action that is
* either always or never allowed.
*
*
* Creates a new #GPermission instance that represents an action that is
* either always or never allowed.
*
+ * Returns: the #GSimplePermission, as a #GPermission
+ *
* Since: 2.26
**/
GPermission *
* Since: 2.26
**/
GPermission *