Mercurial > pidgin.yaz
comparison libpurple/notify.h @ 24292:8282911d5e17
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
to detect when we're still using deprecated functions internally (and by
extension, when we've deprecated something we shouldn't have). In the
course of developing this changeset, I fixed a few such cases.
Given that the plan is to switch from PURPLE_HIDE_STRUCTS to
PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will
also ensure we have no regressions on the struct hiding work.
Deprecated functions are still available to the respective .c file, to
avoid missing prototype errors. Also, Perl and DBus undef the
*_DISABLE_DEPRECATED defines as appropriate so that deprecated functions
will still be exported to Perl plugins and via DBus. (Otherwise, we'd
be breaking backwards compatibility.)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 30 Oct 2008 22:40:49 +0000 |
parents | 3dc1bc92b170 |
children | d038fc351194 |
comparison
equal
deleted
inserted
replaced
24291:f52b94f3b6ca | 24292:8282911d5e17 |
---|---|
287 * @param results The search results object. | 287 * @param results The search results object. |
288 * @param row The row of the results. | 288 * @param row The row of the results. |
289 */ | 289 */ |
290 void purple_notify_searchresults_row_add(PurpleNotifySearchResults *results, | 290 void purple_notify_searchresults_row_add(PurpleNotifySearchResults *results, |
291 GList *row); | 291 GList *row); |
292 #ifndef PURPLE_DISABLE_DEPRECATED | 292 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_NOTIFY_C_) |
293 /** | 293 /** |
294 * Returns a number of the rows in the search results object. | 294 * Returns a number of the rows in the search results object. |
295 * | 295 * |
296 * @deprecated This function will be removed in Pidgin 3.0.0 unless | 296 * @deprecated This function will be removed in Pidgin 3.0.0 unless |
297 * there is sufficient demand to keep it. Using this | 297 * there is sufficient demand to keep it. Using this |
308 * @return Number of the result rows. | 308 * @return Number of the result rows. |
309 */ | 309 */ |
310 guint purple_notify_searchresults_get_rows_count(PurpleNotifySearchResults *results); | 310 guint purple_notify_searchresults_get_rows_count(PurpleNotifySearchResults *results); |
311 #endif | 311 #endif |
312 | 312 |
313 #ifndef PURPLE_DISABLE_DEPRECATED | 313 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_NOTIFY_C_) |
314 /** | 314 /** |
315 * Returns a number of the columns in the search results object. | 315 * Returns a number of the columns in the search results object. |
316 * | 316 * |
317 * @deprecated This function will be removed in Pidgin 3.0.0 unless | 317 * @deprecated This function will be removed in Pidgin 3.0.0 unless |
318 * there is sufficient demand to keep it. Using this | 318 * there is sufficient demand to keep it. Using this |
329 * @return Number of the columns. | 329 * @return Number of the columns. |
330 */ | 330 */ |
331 guint purple_notify_searchresults_get_columns_count(PurpleNotifySearchResults *results); | 331 guint purple_notify_searchresults_get_columns_count(PurpleNotifySearchResults *results); |
332 #endif | 332 #endif |
333 | 333 |
334 #ifndef PURPLE_DISABLE_DEPRECATED | 334 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_NOTIFY_C_) |
335 /** | 335 /** |
336 * Returns a row of the results from the search results object. | 336 * Returns a row of the results from the search results object. |
337 * | 337 * |
338 * @deprecated This function will be removed in Pidgin 3.0.0 unless | 338 * @deprecated This function will be removed in Pidgin 3.0.0 unless |
339 * there is sufficient demand to keep it. Using this | 339 * there is sufficient demand to keep it. Using this |
352 */ | 352 */ |
353 GList *purple_notify_searchresults_row_get(PurpleNotifySearchResults *results, | 353 GList *purple_notify_searchresults_row_get(PurpleNotifySearchResults *results, |
354 unsigned int row_id); | 354 unsigned int row_id); |
355 #endif | 355 #endif |
356 | 356 |
357 #ifndef PURPLE_DISABLE_DEPRECATED | 357 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_NOTIFY_C_) |
358 /** | 358 /** |
359 * Returns a title of the search results object's column. | 359 * Returns a title of the search results object's column. |
360 * | 360 * |
361 * @deprecated This function will be removed in Pidgin 3.0.0 unless | 361 * @deprecated This function will be removed in Pidgin 3.0.0 unless |
362 * there is sufficient demand to keep it. Using this | 362 * there is sufficient demand to keep it. Using this |