diff src/buddy.c @ 991:3dbc2cd326e2

[gaim-migrate @ 1001] check for getopt, and --disable-multi (which doesn't actually disable it, it just makes it inaccessible from the GUI) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 13 Oct 2000 21:05:50 +0000
parents 82c5865f7cfe
children 91b7377e7b45
line wrap: on
line diff
--- a/src/buddy.c	Fri Oct 13 20:50:45 2000 +0000
+++ b/src/buddy.c	Fri Oct 13 21:05:50 2000 +0000
@@ -1325,7 +1325,6 @@
         b->log_timer = 0;
 			
 	if (!b->present) {
-		int count = 0;
 		gtk_widget_hide(b->item);
 		g = find_group_by_buddy(name);
 		if (GTK_TREE_ITEM(g->item)->expanded) {
@@ -1903,7 +1902,9 @@
 	gtk_menu_append(GTK_MENU(setmenu), menuitem);
 	gtk_signal_connect(GTK_OBJECT(menuitem), "activate", GTK_SIGNAL_FUNC(show_change_passwd), NULL);
 	gtk_widget_show(menuitem);
+#ifndef NO_MULTI
         gaim_new_item_with_pixmap(menu, _("Accounts"), add_small_xpm, GTK_SIGNAL_FUNC(account_editor));
+#endif
 	gaim_seperator(menu);
 
         gaim_new_item_with_pixmap(menu, _("Preferences"), prefs_small_xpm, GTK_SIGNAL_FUNC(show_prefs));