summaryrefslogtreecommitdiffstats
path: root/src/jabber_whiteboard/callbacks.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-04-17 04:46:51 +0000
committermental <mental@users.sourceforge.net>2006-04-17 04:46:51 +0000
commit805747f6b136ad2e89f5ca1020ca43506d2b5391 (patch)
treebeded9b49a5f2f5a3ac956ded5604cee5d61cd0c /src/jabber_whiteboard/callbacks.cpp
parentSP_DT_DOCUMENT -> sp_desktop_document (diff)
downloadinkscape-805747f6b136ad2e89f5ca1020ca43506d2b5391.tar.gz
inkscape-805747f6b136ad2e89f5ca1020ca43506d2b5391.zip
Get rid of the SP_DT_* macros which do nothing more than provide additional, confusing, names for other functions. If shorter names are desired, the actual functions should be renamed -- or better, made into member functions.
(bzr r532)
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()),