changeset 10653:20cbadb004a0

[gaim-migrate @ 12181] sf patch #1152650, from Richard Laager Gets rid of a compile warning in oscar committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 06 Mar 2005 00:10:54 +0000
parents 252598b411d8
children f2e86683cafc
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sat Mar 05 21:31:58 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Mar 06 00:10:54 2005 +0000
@@ -7615,6 +7615,7 @@
 	}
 }
 
+#if USE_PRPL_PREFERENCES
 static GaimPluginPrefFrame *
 get_plugin_pref_frame(GaimPlugin *plugin)
 {
@@ -7631,6 +7632,7 @@
 
 	return frame;
 }
+#endif
 
 static GaimPluginProtocolInfo prpl_info =
 {
@@ -7700,9 +7702,11 @@
 	oscar_send_file			/* send_file */
 };
 
+#if USE_PRPL_PREFERENCES
 static GaimPluginUiInfo prefs_info = {
 	get_plugin_pref_frame
 };
+#endif
 
 static GaimPluginInfo info =
 {
@@ -7731,7 +7735,11 @@
 
 	NULL,                                             /**< ui_info        */
 	&prpl_info,                                       /**< extra_info     */
+#if USE_PRPL_PREFERENCES
 	NULL,                                             /**< prefs_info     */
+#else
+	NULL,                                             /**< prefs_info     */
+#endif
 	oscar_actions
 };