Mercurial > pidgin
diff src/notify.h @ 12257:ca27de274225
[gaim-migrate @ 14559]
Patches from Bartosz Oler with some changes by me.
The summary of changes is:
1. Fix a silly bug I introduced when editing previous patches.
2. Add some error handling.
3. Unify some types.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 29 Nov 2005 19:26:03 +0000 |
parents | 976677e67239 |
children | 0c82fd31628b |
line wrap: on
line diff
--- a/src/notify.h Tue Nov 29 18:25:12 2005 +0000 +++ b/src/notify.h Tue Nov 29 19:26:03 2005 +0000 @@ -228,18 +228,18 @@ * * @param results The search results object. * - * @return Number of the result rows. Or -1 if an error occurrs. + * @return Number of the result rows. */ -int gaim_notify_searchresults_get_rows_count(GaimNotifySearchResults *results); +guint gaim_notify_searchresults_get_rows_count(GaimNotifySearchResults *results); /** * Returns a number of the columns in the search results object. * * @param results The search results object. * - * @return Number of the columns. Or -1 if an error occurrs. + * @return Number of the columns. */ -int gaim_notify_searchresults_get_columns_count(GaimNotifySearchResults *results); +guint gaim_notify_searchresults_get_columns_count(GaimNotifySearchResults *results); /** * Returns a row of the results from the search results object.