X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgsimplepermission.c;h=5f3161eb63b2e57f55cd8d94bca8764d73fe7d36;hb=2a53b4d0e2c98a14aedf31e38f0ad1fb2e8fe26f;hp=a46f20934c1f06b65d40c2e7408eb04af0856408;hpb=473348817809f7aed492245469092901d28de91d;p=platform%2Fupstream%2Fglib.git
diff --git a/gio/gsimplepermission.c b/gio/gsimplepermission.c
index a46f209..5f3161e 100644
--- a/gio/gsimplepermission.c
+++ b/gio/gsimplepermission.c
@@ -12,26 +12,26 @@
* 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 .
*
* Author: Ryan Lortie
*/
+#include "config.h"
+
#include "gsimplepermission.h"
#include "gpermission.h"
-#include "gioalias.h"
/**
* SECTION:gsimplepermission
* @title: GSimplePermission
- * @short_description: a #GPermission that doesn't change value
+ * @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
- * value is given at constuction and doesn't change.
+ * value is given at construction and doesn't change.
*
* Calling request or release will result in errors.
**/
@@ -65,10 +65,13 @@ g_simple_permission_class_init (GSimplePermissionClass *class)
/**
* 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.
+ *
+ * Returns: the #GSimplePermission, as a #GPermission
+ *
+ * Since: 2.26
**/
GPermission *
g_simple_permission_new (gboolean allowed)
@@ -79,6 +82,3 @@ g_simple_permission_new (gboolean allowed)
return permission;
}
-
-#define __G_SIMPLE_PERMISSION_C__
-#include "gioaliasdef.c"