[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.git] / gio / gsimplepermission.c
index 9f3da22..5f3161e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  *
  * Author: Ryan Lortie <desrt@desrt.ca>
  */
 #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"