X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fnames.c;h=b114e102ce0731973ad2dc604f26043c746e2607;hb=20080103;hp=5f3c386d8eab7337fd9b5be31c63b8aba9f014aa;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/ioncore/names.c b/ioncore/names.c index 5f3c386..b114e10 100644 --- a/ioncore/names.c +++ b/ioncore/names.c @@ -1,12 +1,9 @@ /* * ion/ioncore/names.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * - * Ion is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * See the included file LICENSE for details. */ @@ -449,7 +446,7 @@ bool clientwin_register(WClientWin *cwin) /*EXTL_DOC * Set the name of \var{reg} to \var{p}. If the name is already in use, - * an instance number suffix \code{} will be attempted. If \var{p} has + * an instance number suffix \codestr{} will be attempted. If \var{p} has * such a suffix, it will be modified, otherwise such a suffix will be * added. Setting \var{p} to nil will cause current name to be removed. */ @@ -466,7 +463,7 @@ bool region_set_name(WRegion *reg, const char *p) /*EXTL_DOC * Similar to \fnref{WRegion.set_name} except if the name is already in use, * other instance numbers will not be attempted. The string \var{p} should - * not contain a \code{} suffix or this function will fail. + * not contain a \codestr{} suffix or this function will fail. */ EXTL_EXPORT_MEMBER bool region_set_name_exact(WRegion *reg, const char *p) @@ -565,7 +562,8 @@ static bool do_list(ExtlFn fn, WNamespace *ns, const char *typenam) /*EXTL_DOC * Iterate over all non-client window regions with (inherited) class * \var{typenam} until \var{iterfn} returns \code{false}. - * The function itself returns \code{true} if it reaches the end of list + * The function is called in protected mode. + * This routine returns \code{true} if it reaches the end of list * without this happening. */ EXTL_SAFE @@ -578,7 +576,8 @@ bool ioncore_region_i(ExtlFn fn, const char *typenam) /*EXTL_DOC * Iterate over client windows until \var{iterfn} returns \code{false}. - * The function itself returns \code{true} if it reaches the end of list + * The function is called in protected mode. + * This routine returns \code{true} if it reaches the end of list * without this happening. */ EXTL_SAFE