summaryrefslogtreecommitdiffstats
path: root/src/jabber_whiteboard/callbacks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jabber_whiteboard/callbacks.cpp')
-rw-r--r--src/jabber_whiteboard/callbacks.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jabber_whiteboard/callbacks.cpp b/src/jabber_whiteboard/callbacks.cpp
index 8216f33c6..31f536616 100644
--- a/src/jabber_whiteboard/callbacks.cpp
+++ b/src/jabber_whiteboard/callbacks.cpp
@@ -56,7 +56,7 @@ Callbacks::dispatchSendQueue()
LmConnectionState state = lm_connection_get_state(this->_sd->connection);
if (state != LM_CONNECTION_STATE_OPEN && state != LM_CONNECTION_STATE_AUTHENTICATED) {
- SP_DT_MSGSTACK(this->_sm->desktop())->flash(Inkscape::INFORMATION_MESSAGE, _("Jabber connection lost."));
+ sp_desktop_message_stack(this->_sm->desktop())->flash(Inkscape::INFORMATION_MESSAGE, _("Jabber connection lost."));
return false;
}
@@ -68,14 +68,14 @@ Callbacks::dispatchSendQueue()
// otherwise, send out the first change
MessageNode* first = this->_sd->send_queue->first();
- SP_DT_MSGSTACK(this->_sm->desktop())->flashF(Inkscape::NORMAL_MESSAGE,
+ sp_desktop_message_stack(this->_sm->desktop())->flashF(Inkscape::NORMAL_MESSAGE,
ngettext("Sending message; %u message remaining in send queue.",
"Sending message; %u messages remaining in send queue.",
this->_sd->send_queue->size()),
this->_sd->send_queue->size());
if (this->_sd->send_queue->empty()) {
- SP_DT_MSGSTACK(this->_sm->desktop())->flash(Inkscape::NORMAL_MESSAGE, _("Receive queue empty."));
+ sp_desktop_message_stack(this->_sm->desktop())->flash(Inkscape::NORMAL_MESSAGE, _("Receive queue empty."));
}
switch (first->type()) {
@@ -150,7 +150,7 @@ Callbacks::dispatchReceiveQueue()
// Pass the message to the received change handler.
this->_sm->receiveChange(msg->message());
- SP_DT_MSGSTACK(this->_sm->desktop())->flashF(Inkscape::NORMAL_MESSAGE,
+ sp_desktop_message_stack(this->_sm->desktop())->flashF(Inkscape::NORMAL_MESSAGE,
ngettext("Receiving change; %u change left to process.",
"Receiving change; %u changes left to process.",
rmq->size()),