Fix Doxygen undocumented parameter warnings.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2340 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2008-03-13 17:53:03 +00:00
parent 4472929989
commit e3a71b8a9f
3 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,8 @@
* src/keybindings.c, src/keybindings.h, src/plugins.c, doc/plugins.dox: * src/keybindings.c, src/keybindings.h, src/plugins.c, doc/plugins.dox:
Check plugin keybinding group name is valid. Check plugin keybinding group name is valid.
Ignore plugin keybinding groups with no elements defined. Ignore plugin keybinding groups with no elements defined.
* src/utils.c, src/document.c:
Fix Doxygen undocumented parameter warnings.
2008-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -1818,7 +1818,7 @@ void document_replace_sel(gint idx, const gchar *find_text, const gchar *replace
/* Note: the selection will be wrapped to last_line + 1 if max_column is greater than /* Note: the selection will be wrapped to last_line + 1 if max_column is greater than
* the highest column on the last line. The wrapped selection is completely different * the highest column on the last line. The wrapped selection is completely different
* from the original one, so skip the selection at all */ * from the original one, so skip the selection at all */
/** TODO is there a better way to handle the wrapped selection? */ /* TODO is there a better way to handle the wrapped selection? */
if ((sci_get_line_length(doc_list[idx].sci, last_line) - 1) >= max_column) if ((sci_get_line_length(doc_list[idx].sci, last_line) - 1) >= max_column)
{ /* for keeping and adjusting the selection in multi line rectangle selection we { /* for keeping and adjusting the selection in multi line rectangle selection we
* need the last line of the original selection and the greatest column number after * need the last line of the original selection and the greatest column number after

View File

@ -332,7 +332,7 @@ gboolean utils_check_disk_status(gint idx, gboolean force)
locale_filename = utils_get_locale_from_utf8(doc_list[idx].file_name); locale_filename = utils_get_locale_from_utf8(doc_list[idx].file_name);
if (g_stat(locale_filename, &st) != 0) if (g_stat(locale_filename, &st) != 0)
{ {
/** TODO: warn user file on disk is missing */ /* TODO: warn user file on disk is missing */
} }
else if (doc_list[idx].mtime > t || st.st_mtime > t) else if (doc_list[idx].mtime > t || st.st_mtime > t)
{ {
@ -1734,7 +1734,7 @@ gboolean utils_str_has_upper(const gchar *str)
/* check only letters and stop once the first non-capital was found */ /* check only letters and stop once the first non-capital was found */
if (g_unichar_isalpha(c) && g_unichar_isupper(c)) if (g_unichar_isalpha(c) && g_unichar_isupper(c))
return TRUE; return TRUE;
/** FIXME don't write a const string */ /* FIXME don't write a const string */
str = g_utf8_next_char(str); str = g_utf8_next_char(str);
} }
return FALSE; return FALSE;