src/protocols/oscar/oscar.c

changeset 6371
e92b66ee5518
parent 6350
22dfc953f2fb
child 6378
233d1294508f
--- a/src/protocols/oscar/oscar.c	Tue Aug 05 03:21:40 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Aug 05 10:55:04 2003 +0000
@@ -43,7 +43,8 @@
 #include "aim.h"
 #include "md5.h"
 
-/* XXX */
+/* XXX CORE/UI */
+#include "gtkinternal.h"
 #include "gaim.h"
 #include "ui.h"
 
@@ -1073,7 +1074,7 @@
 			break;
 		case 0x1c:
 			/* client too old */
-			g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), WEBSITE);
+			g_snprintf(buf, sizeof(buf), _("The client version you are using is too old. Please upgrade at %s"), GAIM_WEBSITE);
 			gaim_connection_error(gc, buf);
 			break;
 		default:
@@ -1208,7 +1209,7 @@
 	if (in != '\n') {
 		char buf[256];
 		g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly.  You may want to use TOC until "
-			"this is fixed.  Check %s for updates."), WEBSITE);
+			"this is fixed.  Check %s for updates."), GAIM_WEBSITE);
 		gaim_notify_warning(pos->gc, NULL,
 							_("Gaim was Unable to get a valid AIM login hash."),
 							buf);
@@ -1238,7 +1239,7 @@
 
 	if (source < 0) {
 		buf = g_strdup_printf(_("You may be disconnected shortly.  You may want to use TOC until "
-			"this is fixed.  Check %s for updates."), WEBSITE);
+			"this is fixed.  Check %s for updates."), GAIM_WEBSITE);
 		gaim_notify_warning(pos->gc, NULL,
 							_("Gaim was Unable to get a valid AIM login hash."),
 							buf);
@@ -1326,7 +1327,7 @@
 			g_free(pos->modname);
 		g_free(pos);
 		g_snprintf(buf, sizeof(buf), _("You may be disconnected shortly.  You may want to use TOC until "
-			"this is fixed.  Check %s for updates."), WEBSITE);
+			"this is fixed.  Check %s for updates."), GAIM_WEBSITE);
 		gaim_notify_warning(pos->gc, NULL,
 							_("Gaim was Unable to get a valid login hash."),
 							buf);
@@ -4261,7 +4262,7 @@
 	int ret = 0;
 	GError *err = NULL;
 	const char *iconfile = gaim_account_get_buddy_icon(gaim_connection_get_account(gc));
-	char *tmpmsg;
+	char *tmpmsg = NULL;
 
 	if (dim && dim->connected) {
 		/* If we're directly connected, send a direct IM */
@@ -4887,7 +4888,6 @@
 						gaim_debug(GAIM_DEBUG_INFO, "oscar",
 								   "ssi: adding permit buddy %s to local list\n", curitem->name);
 						gaim_privacy_permit_add(account, curitem->name);
-						build_allow_list();
 						export = TRUE;
 					}
 				}
@@ -4901,7 +4901,6 @@
 						gaim_debug(GAIM_DEBUG_INFO, "oscar",
 								   "ssi: adding deny buddy %s to local list\n", curitem->name);
 						gaim_privacy_deny_add(account, curitem->name);
-						build_block_list();
 						export = TRUE;
 					}
 				}
@@ -6319,7 +6318,7 @@
 	                                                  /**  description    */
 	N_("AIM/ICQ Protocol Plugin"),
 	NULL,                                             /**< author         */
-	WEBSITE,                                          /**< homepage       */
+	GAIM_WEBSITE,                                     /**< homepage       */
 
 	NULL,                                             /**< load           */
 	NULL,                                             /**< unload         */

mercurial