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] Do not set body message if signature field is empty
[platform/upstream/glib.git]
/
glib
/
ghook.c
diff --git
a/glib/ghook.c
b/glib/ghook.c
index
65b9421
..
44a2665
100644
(file)
--- a/
glib/ghook.c
+++ b/
glib/ghook.c
@@
-15,9
+15,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/>.
*/
/*
*/
/*
@@
-59,8
+57,7
@@
* The default behaviour is to call the hooks @destroy function
* @dummy: unused
*
* The default behaviour is to call the hooks @destroy function
* @dummy: unused
*
- * The <structname>GHookList</structname> struct represents a
- * list of hook functions.
+ * The #GHookList struct represents a list of hook functions.
*/
/**
*/
/**
@@
-77,7
+74,7
@@
* @G_HOOK_FLAG_ACTIVE: set if the hook has not been destroyed
* @G_HOOK_FLAG_IN_CALL: set if the hook is currently being run
* @G_HOOK_FLAG_MASK: A mask covering all bits reserved for
* @G_HOOK_FLAG_ACTIVE: set if the hook has not been destroyed
* @G_HOOK_FLAG_IN_CALL: set if the hook is currently being run
* @G_HOOK_FLAG_MASK: A mask covering all bits reserved for
- * hook flags; see
#G_HOOK_FLAGS
_USER_SHIFT
+ * hook flags; see
%G_HOOK_FLAG
_USER_SHIFT
*
* Flags used internally in the #GHook implementation.
*/
*
* Flags used internally in the #GHook implementation.
*/
@@
-86,7
+83,7
@@
* G_HOOK_FLAGS:
* @hook: a #GHook
*
* G_HOOK_FLAGS:
* @hook: a #GHook
*
- *
Return
s the flags of a hook.
+ *
Get
s the flags of a hook.
*/
/**
*/
/**
@@
-94,7
+91,7
@@
*
* The position of the first bit which is not reserved for internal
* use be the #GHook implementation, i.e.
*
* The position of the first bit which is not reserved for internal
* use be the #GHook implementation, i.e.
- *
<literal>1 << G_HOOK_FLAG_USER_SHIFT</literal>
is the first
+ *
`1 << G_HOOK_FLAG_USER_SHIFT`
is the first
* bit which can be used for application-defined flags.
*/
* bit which can be used for application-defined flags.
*/
@@
-102,7
+99,7
@@
* G_HOOK:
* @hook: a pointer
*
* G_HOOK:
* @hook: a pointer
*
- * Casts a pointer to a
<literal>GHook*</literal>
.
+ * Casts a pointer to a
`GHook*`
.
*/
/**
*/
/**
@@
-157,8
+154,7
@@
* @destroy: the default @finalize_hook function of a #GHookList calls
* this member of the hook that is being finalized
*
* @destroy: the default @finalize_hook function of a #GHookList calls
* this member of the hook that is being finalized
*
- * The <structname>GHook</structname> struct represents a single hook
- * function in a #GHookList.
+ * The #GHook struct represents a single hook function in a #GHookList.
*/
/**
*/
/**
@@
-197,7
+193,7
@@
default_finalize_hook (GHookList *hook_list,
* g_hook_list_init:
* @hook_list: a #GHookList
* @hook_size: the size of each element in the #GHookList,
* g_hook_list_init:
* @hook_list: a #GHookList
* @hook_size: the size of each element in the #GHookList,
- * typically
<literal>sizeof (GHook)</literal>
+ * typically
`sizeof (GHook)`.
*
* Initializes a #GHookList.
* This must be called before the #GHookList is used.
*
* Initializes a #GHookList.
* This must be called before the #GHookList is used.
@@
-977,7
+973,7
@@
g_hook_find_func_data (GHookList *hook_list,
* Defines the type of function used to compare #GHook elements in
* g_hook_insert_sorted().
*
* Defines the type of function used to compare #GHook elements in
* g_hook_insert_sorted().
*
- * Returns: a value
<
= 0 if @new_hook should be before @sibling
+ * Returns: a value
<
= 0 if @new_hook should be before @sibling
*/
/**
*/
/**
@@
-1039,7
+1035,7
@@
g_hook_insert_sorted (GHookList *hook_list,
* Compares the ids of two #GHook elements, returning a negative value
* if the second id is greater than the first.
*
* Compares the ids of two #GHook elements, returning a negative value
* if the second id is greater than the first.
*
- * Returns: a value
<
= 0 if the id of @sibling is >= the id of @new_hook
+ * Returns: a value
<
= 0 if the id of @sibling is >= the id of @new_hook
*/
gint
g_hook_compare_ids (GHook *new_hook,
*/
gint
g_hook_compare_ids (GHook *new_hook,