# HG changeset patch # User Mark Doliner # Date 1062647422 0 # Node ID b0913ab928936b99c767436a25220a16c3db5dad # Parent bf77a7db61c26e4ae5f337089aaaf54193303468 [gaim-migrate @ 7267] This is some compile warning cleanup stuff. I tried compiling with CFLAGS="-ansi -ggdb -pedantic -Wall" It's fun. committer: Tailor Script diff -r bf77a7db61c2 -r b0913ab92893 plugins/notify.c --- a/plugins/notify.c Thu Sep 04 02:17:23 2003 +0000 +++ b/plugins/notify.c Thu Sep 04 03:50:22 2003 +0000 @@ -646,14 +646,14 @@ urgent_add(c); } } else { - //don't simply call unnotify(), because that will kill the msg counter + /* don't simply call unnotify(), because that will kill the msg counter */ urgent_remove(c); quote_remove(gtkwin->window); count_remove(gtkwin->window); string_remove(gtkwin->window); } } else if (opts & STATE_IS_NOTIFIED) { - //add/remove the status that was changed + /* add/remove the status that was changed */ switch(opt_chng) { case OPT_METHOD_COUNT: if (notify_opts & OPT_METHOD_COUNT) diff -r bf77a7db61c2 -r b0913ab92893 plugins/perl/common/BuddyList_Chat.xs --- a/plugins/perl/common/BuddyList_Chat.xs Thu Sep 04 02:17:23 2003 +0000 +++ b/plugins/perl/common/BuddyList_Chat.xs Thu Sep 04 03:50:22 2003 +0000 @@ -27,7 +27,7 @@ RETVAL void -gaim_chat_set_setting(chat, key, value) +gaim_blist_chat_set_setting(chat, key, value) Gaim::BuddyList::Chat chat const char *key const char *value diff -r bf77a7db61c2 -r b0913ab92893 plugins/perl/common/Gaim.xs --- a/plugins/perl/common/Gaim.xs Thu Sep 04 02:17:23 2003 +0000 +++ b/plugins/perl/common/Gaim.xs Thu Sep 04 03:50:22 2003 +0000 @@ -78,8 +78,6 @@ void deinit() -PREINIT: - GList *l; CODE: gaim_perl_timeout_clear(); diff -r bf77a7db61c2 -r b0913ab92893 plugins/spellchk.c --- a/plugins/spellchk.c Thu Sep 04 02:17:23 2003 +0000 +++ b/plugins/spellchk.c Thu Sep 04 03:50:22 2003 +0000 @@ -11,6 +11,12 @@ #include "gtkplugin.h" #include "gtkutils.h" +#include +#include +#include +#include +#include + #define SPELLCHECK_PLUGIN_ID "gtk-spellcheck" enum { diff -r bf77a7db61c2 -r b0913ab92893 plugins/tcl/tcl.c --- a/plugins/tcl/tcl.c Thu Sep 04 02:17:23 2003 +0000 +++ b/plugins/tcl/tcl.c Thu Sep 04 03:50:22 2003 +0000 @@ -363,4 +363,4 @@ tcl_loader_info.exts = g_list_append(tcl_loader_info.exts, "tcl"); } -GAIM_INIT_PLUGIN(tcl, tcl_init_plugin, tcl_info); +GAIM_INIT_PLUGIN(tcl, tcl_init_plugin, tcl_info) diff -r bf77a7db61c2 -r b0913ab92893 plugins/tcl/tcl_signals.c --- a/plugins/tcl/tcl_signals.c Thu Sep 04 02:17:23 2003 +0000 +++ b/plugins/tcl/tcl_signals.c Thu Sep 04 03:50:22 2003 +0000 @@ -231,6 +231,9 @@ case GAIM_BLIST_GROUP_NODE: g_string_printf(val, "group {%s}", ((GaimGroup *)node)->name); break; + case GAIM_BLIST_CONTACT_NODE: + /* g_string_printf(val, "contact {%s}", Contact Name? ); */ + break; case GAIM_BLIST_BUDDY_NODE: g_string_printf(val, "buddy {%s} %lu", ((GaimBuddy *)node)->name, (unsigned long)((GaimBuddy *)node)->account); diff -r bf77a7db61c2 -r b0913ab92893 src/blist.h --- a/src/blist.h Thu Sep 04 02:17:23 2003 +0000 +++ b/src/blist.h Thu Sep 04 03:50:22 2003 +0000 @@ -628,7 +628,7 @@ void gaim_blist_chat_set_setting(GaimBlistChat *c, const char *key, const char *value); /** - * Retrieves data from the XML buddy list set by gaim_chat_set_setting()) + * Retrieves data from the XML buddy list set by gaim_blist_chat_set_setting()) * * @param c The chat to retrieve data from * @param key The key to retrieve the data with diff -r bf77a7db61c2 -r b0913ab92893 src/protocols/yahoo/.cvsignore --- a/src/protocols/yahoo/.cvsignore Thu Sep 04 02:17:23 2003 +0000 +++ b/src/protocols/yahoo/.cvsignore Thu Sep 04 03:50:22 2003 +0000 @@ -2,18 +2,11 @@ Makefile .deps .libs -buddy.lo -conn.lo -libyahoo.la -login.lo -misc.lo -outgoing.lo -rxhandlers.lo -yay.lo -yahoo.lo -md5.lo -crypt.lo -libyahoo.def -libyahoo.lib -libyahoo.dll -util.lo +*.lo +*.la +*.dll +*.def +*.lib +.*.swp +.*.swo +.todo.* diff -r bf77a7db61c2 -r b0913ab92893 src/prpl.h --- a/src/prpl.h Thu Sep 04 02:17:23 2003 +0000 +++ b/src/prpl.h Thu Sep 04 03:50:22 2003 +0000 @@ -91,7 +91,7 @@ */ typedef enum { - GAIM_IM_AUTO_RESP = 0x01, /**< Auto response. */ + GAIM_IM_AUTO_RESP = 0x01 /**< Auto response. */ } GaimImFlags; /** diff -r bf77a7db61c2 -r b0913ab92893 src/sslconn.c --- a/src/sslconn.c Thu Sep 04 02:17:23 2003 +0000 +++ b/src/sslconn.c Thu Sep 04 03:50:22 2003 +0000 @@ -291,7 +291,7 @@ return (GaimSslConnection)ssl_data; #else - g_return_val_if_fail(gaim_ssl_is_supported(), -1); + return GINT_TO_POINTER(-1); #endif } @@ -345,13 +345,13 @@ void gaim_ssl_uninit(void) { +#ifdef HAVE_NSS if (!_nss_initialized) return; -#ifdef HAVE_NSS PR_Cleanup(); -#endif _nss_initialized = FALSE; _nss_methods = NULL; +#endif }