X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgsimplepermission.c;h=5f3161eb63b2e57f55cd8d94bca8764d73fe7d36;hb=7a1aaaa1fa02679ecf335a19fffe3f55505921b5;hp=9f3da22e32094ed6fa76e2f7b70d036bb1bba0f8;hpb=73007021796f33d7ccec4e5f2bb2b2f8660347f2;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gsimplepermission.c b/gio/gsimplepermission.c index 9f3da22..5f3161e 100644 --- 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 - * 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 */ @@ -24,16 +22,16 @@ #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. **/ @@ -67,11 +65,12 @@ 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 * @@ -83,6 +82,3 @@ g_simple_permission_new (gboolean allowed) return permission; } - -#define __G_SIMPLE_PERMISSION_C__ -#include "gioaliasdef.c"