diff pidgin/gtklog.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/gtklog.h	Sun Oct 14 03:07:06 2007 +0000
+++ b/pidgin/gtklog.h	Sun Oct 14 03:14:43 2007 +0000
@@ -52,30 +52,36 @@
 };
 
 
+#ifndef PURPLE_DISABLE_DEPRECATED
 /**
  * @deprecated Use pidgin_log_show_with_parent() instead.
  */
 void pidgin_log_show(PurpleLogType type, const char *screenname, PurpleAccount *account);
+#endif
 
 /**
  * @since 2.3.0
  */
 void pidgin_log_show_with_parent(GtkWindow *parent, PurpleLogType type, const char *screenname, PurpleAccount *account);
 
+#ifndef PURPLE_DISABLE_DEPRECATED
 /**
  * @deprecated pidgin_log_show_contact_with_parent() instead.
  */
 void pidgin_log_show_contact(PurpleContact *contact);
+#endif
 
 /**
  * @since 2.3.0
  */
 void pidgin_log_show_contact_with_parent(GtkWindow *parent, PurpleContact *contact);
 
+#ifndef PURPLE_DISABLE_DEPRECATED
 /**
  * @deprecated Use pidgin_syslog_show_with_parent() instead.
  */
 void pidgin_syslog_show(void);
+#endif
 
 /**
  * @since 2.3.0