From 40b89d177fb031876d53c5e2a4b253996a9c02b9 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 6 Nov 2011 11:34:08 +1300 Subject: [PATCH] make some cnc helper functions not public --- OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs | 2 +- OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs b/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs index 259dd6dde8..b3d550c5d8 100644 --- a/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs +++ b/OpenRA.Mods.Cnc/Widgets/Logic/CncConnectionLogic.cs @@ -41,7 +41,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic } } - public void CloseWindow() + void CloseWindow() { Game.ConnectionStateChanged -= ConnectionStateChanged; Widget.CloseWindow(); diff --git a/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs b/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs index 0848b86716..bc168a604b 100644 --- a/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs +++ b/OpenRA.Mods.Cnc/Widgets/Logic/CncLobbyLogic.cs @@ -209,7 +209,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic }); } - public void AddChatLine(Color c, string from, string text) + void AddChatLine(Color c, string from, string text) { var template = chatTemplate.Clone(); var nameLabel = template.GetWidget("NAME");