diff pidgin/gtkdialogs.h @ 21234:aabe638f56d9

Wrap the newly deprecated functions with #ifndef PURPLE_DISABLE_DEPRECATED.
author Richard Laager <rlaager@wiktel.com>
date Sun, 14 Oct 2007 03:14:43 +0000
parents 0b67d509a305
children 998cf5d0b401 dccfd999ffe7
line wrap: on
line diff
--- a/pidgin/gtkdialogs.h	Sun Oct 14 03:07:06 2007 +0000
+++ b/pidgin/gtkdialogs.h	Sun Oct 14 03:14:43 2007 +0000
@@ -34,10 +34,12 @@
 
 void pidgin_dialogs_destroy_all(void);
 
+#ifndef PURPLE_DISABLE_DEPRECATED
 /**
  * @deprecated Use pidgin_dialogs_about_with_parent() instead.
  */
 void pidgin_dialogs_about(void);
+#endif
 
 /**
  * @since 2.3.0
@@ -49,11 +51,13 @@
 void pidgin_dialogs_info(void);
 void pidgin_dialogs_log(void);
 
+#ifndef PURPLE_DISABLE_DEPRECATED
 /**
  * @deprecated This function is no longer used and will be removed in
  *             Pidgin 3.0.0 unless there is sufficient demand to keep it.
  */
 void pidgin_dialogs_alias_contact(PurpleContact *);
+#endif
 
 void pidgin_dialogs_alias_buddy(PurpleBuddy *);
 void pidgin_dialogs_alias_chat(PurpleChat *);