diff options
Diffstat (limited to 'linden/indra/newview/llfloaternewim.cpp')
-rw-r--r-- | linden/indra/newview/llfloaternewim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaternewim.cpp b/linden/indra/newview/llfloaternewim.cpp index 1adb37c..844259f 100644 --- a/linden/indra/newview/llfloaternewim.cpp +++ b/linden/indra/newview/llfloaternewim.cpp | |||
@@ -208,8 +208,8 @@ void LLFloaterNewIM::onStart(void* userdata) | |||
208 | EInstantMessage type; | 208 | EInstantMessage type; |
209 | EInstantMessage* t = (EInstantMessage*)item->getUserdata(); | 209 | EInstantMessage* t = (EInstantMessage*)item->getUserdata(); |
210 | if(t) type = (*t); | 210 | if(t) type = (*t); |
211 | else type = LLIMView::defaultIMTypeForAgent(item->getUUID()); | 211 | else type = LLIMMgr::defaultIMTypeForAgent(item->getUUID()); |
212 | gIMView->addSession(name, type, item->getUUID()); | 212 | gIMMgr->addSession(name, type, item->getUUID()); |
213 | 213 | ||
214 | make_ui_sound("UISndStartIM"); | 214 | make_ui_sound("UISndStartIM"); |
215 | } | 215 | } |
@@ -223,7 +223,7 @@ void LLFloaterNewIM::onStart(void* userdata) | |||
223 | // static | 223 | // static |
224 | void LLFloaterNewIM::onClickClose(void *userdata) | 224 | void LLFloaterNewIM::onClickClose(void *userdata) |
225 | { | 225 | { |
226 | gIMView->setFloaterOpen(FALSE); | 226 | gIMMgr->setFloaterOpen(FALSE); |
227 | } | 227 | } |
228 | 228 | ||
229 | 229 | ||
@@ -236,7 +236,7 @@ BOOL LLFloaterNewIM::handleKeyHere(KEY key, MASK mask, BOOL called_from_parent) | |||
236 | { | 236 | { |
237 | handled = TRUE; | 237 | handled = TRUE; |
238 | // Close talk panel on escape | 238 | // Close talk panel on escape |
239 | gIMView->toggle(NULL); | 239 | gIMMgr->toggle(NULL); |
240 | } | 240 | } |
241 | } | 241 | } |
242 | 242 | ||