Mercurial > pidgin
comparison libpurple/notify.h @ 20690:b92fde9b03a6
propagate from branch 'im.pidgin.rlaager.merging.2_2_1_conflicts' (head 193dd268b0be5ca0a4a8fa0e4188452907114be0)
to branch 'im.pidgin.pidgin' (head 563924526117e45ff6134011258940e8b1988d72)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 17:20:33 +0000 |
parents | a3f07fa68e90 |
children | f296be2a1039 34de8ef19294 |
comparison
equal
deleted
inserted
replaced
20262:9850ebd9f964 | 20690:b92fde9b03a6 |
---|---|
291 void purple_notify_searchresults_row_add(PurpleNotifySearchResults *results, | 291 void purple_notify_searchresults_row_add(PurpleNotifySearchResults *results, |
292 GList *row); | 292 GList *row); |
293 | 293 |
294 /** | 294 /** |
295 * Returns a number of the rows in the search results object. | 295 * Returns a number of the rows in the search results object. |
296 * | 296 * |
297 * @deprecated This function will be removed in Pidgin 3.0.0 unless | |
298 * there is sufficient demand to keep it. Using this | |
299 * function encourages looping through the results | |
300 * inefficiently. Instead of using this function you | |
301 * should iterate through the results using a loop | |
302 * similar to this: | |
303 * for (l = results->rows; l != NULL; l = l->next) | |
304 * If you really need to get the number of rows you | |
305 * can use g_list_length(results->rows). | |
306 * | |
297 * @param results The search results object. | 307 * @param results The search results object. |
298 * | 308 * |
299 * @return Number of the result rows. | 309 * @return Number of the result rows. |
300 */ | 310 */ |
301 guint purple_notify_searchresults_get_rows_count(PurpleNotifySearchResults *results); | 311 guint purple_notify_searchresults_get_rows_count(PurpleNotifySearchResults *results); |
302 | 312 |
303 /** | 313 /** |
304 * Returns a number of the columns in the search results object. | 314 * Returns a number of the columns in the search results object. |
305 * | 315 * |
316 * @deprecated This function will be removed in Pidgin 3.0.0 unless | |
317 * there is sufficient demand to keep it. Using this | |
318 * function encourages looping through the columns | |
319 * inefficiently. Instead of using this function you | |
320 * should iterate through the columns using a loop | |
321 * similar to this: | |
322 * for (l = results->columns; l != NULL; l = l->next) | |
323 * If you really need to get the number of columns you | |
324 * can use g_list_length(results->columns). | |
325 * | |
306 * @param results The search results object. | 326 * @param results The search results object. |
307 * | 327 * |
308 * @return Number of the columns. | 328 * @return Number of the columns. |
309 */ | 329 */ |
310 guint purple_notify_searchresults_get_columns_count(PurpleNotifySearchResults *results); | 330 guint purple_notify_searchresults_get_columns_count(PurpleNotifySearchResults *results); |
311 | 331 |
312 /** | 332 /** |
313 * Returns a row of the results from the search results object. | 333 * Returns a row of the results from the search results object. |
334 * | |
335 * @deprecated This function will be removed in Pidgin 3.0.0 unless | |
336 * there is sufficient demand to keep it. Using this | |
337 * function encourages looping through the results | |
338 * inefficiently. Instead of using this function you | |
339 * should iterate through the results using a loop | |
340 * similar to this: | |
341 * for (l = results->rows; l != NULL; l = l->next) | |
342 * If you really need to get the data for a particular | |
343 * row you can use g_list_nth_data(results->rows, row_id). | |
314 * | 344 * |
315 * @param results The search results object. | 345 * @param results The search results object. |
316 * @param row_id Index of the row to be returned. | 346 * @param row_id Index of the row to be returned. |
317 * | 347 * |
318 * @return Row of the results. | 348 * @return Row of the results. |
320 GList *purple_notify_searchresults_row_get(PurpleNotifySearchResults *results, | 350 GList *purple_notify_searchresults_row_get(PurpleNotifySearchResults *results, |
321 unsigned int row_id); | 351 unsigned int row_id); |
322 | 352 |
323 /** | 353 /** |
324 * Returns a title of the search results object's column. | 354 * Returns a title of the search results object's column. |
325 * | 355 * |
356 * @deprecated This function will be removed in Pidgin 3.0.0 unless | |
357 * there is sufficient demand to keep it. Using this | |
358 * function encourages looping through the columns | |
359 * inefficiently. Instead of using this function you | |
360 * should iterate through the name of a particular | |
361 * column you can use | |
362 * g_list_nth_data(results->columns, row_id). | |
363 * | |
326 * @param results The search results object. | 364 * @param results The search results object. |
327 * @param column_id Index of the column. | 365 * @param column_id Index of the column. |
328 * | 366 * |
329 * @return Title of the column. | 367 * @return Title of the column. |
330 */ | 368 */ |