summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 579248e)
raw | patch | inline | side by side (parent: 579248e)
author | ishmal <ishmal@users.sourceforge.net> | |
Tue, 13 May 2008 17:22:10 +0000 (17:22 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Tue, 13 May 2008 17:22:10 +0000 (17:22 +0000) |
diff --git a/src/jabber_whiteboard/inkboard-document.cpp b/src/jabber_whiteboard/inkboard-document.cpp
index 36295dd28d485ab15d8a6f3a4d6359bdf7ae5742..dd039ab6fd1b08bbdfa8b062f6da7ee1569c2738 100644 (file)
-void InkboardDocument::notifyChildAdded(XML::Node &parent,
+void InkboardDocument::notifyChildAdded(XML::Node &/*parent*/,
XML::Node &child,
- XML::Node *prev)
+ XML::Node */*prev*/)
{
if (_in_transaction && state == State::IN_WHITEBOARD) {
}
}
-void InkboardDocument::notifyChildRemoved(XML::Node &parent,
+void InkboardDocument::notifyChildRemoved(XML::Node &/*parent*/,
XML::Node &child,
- XML::Node *prev)
+ XML::Node */*prev*/)
{
if (_in_transaction && state == State::IN_WHITEBOARD)
{
void InkboardDocument::notifyChildOrderChanged(XML::Node &parent,
XML::Node &child,
- XML::Node *old_prev,
- XML::Node *new_prev)
+ XML::Node */*old_prev*/,
+ XML::Node */*new_prev*/)
{
if (_in_transaction && state == State::IN_WHITEBOARD)
{
}
void InkboardDocument::notifyContentChanged(XML::Node &node,
- Util::ptr_shared<char> old_content,
+ Util::ptr_shared<char> /*old_content*/,
Util::ptr_shared<char> new_content)
{
if (_in_transaction && state == State::IN_WHITEBOARD)
void InkboardDocument::notifyAttributeChanged(XML::Node &node,
GQuark name,
- Util::ptr_shared<char> old_value,
+ Util::ptr_shared<char> /*old_value*/,
Util::ptr_shared<char> new_value)
{
if (_in_transaction && state == State::IN_WHITEBOARD)
index 23ce9f3b9ab54520240c54809d5c16844e0e2cda..6bfcab59b6599597b68d08666a6ef1a266d11359 100644 (file)
_initBindings();
}
- XML::SimpleNode* _duplicate(XML::Document* xml_doc) const
+ XML::SimpleNode* _duplicate(XML::Document* /*xml_doc*/) const
{
return new InkboardDocument(*this);
}
index 343b6c4c1216815fcdcd61851e726584bcd1a994..d3d5685513b577c27da6fa778a4de4c547de6e77 100644 (file)
}
void
-InkboardDocument::changeConfigureText(Glib::ustring target, unsigned int version,
- Glib::ustring text)
+InkboardDocument::changeConfigureText(Glib::ustring target,
+ unsigned int /*version*/,
+ Glib::ustring text)
{
XML::Node *node = this->tracker->get(target);
- unsigned int elementVersion = this->tracker->getVersion(node);
+ //unsigned int elementVersion = this->tracker->getVersion(node);
if(node)// && version == (elementVersion + 1))
{
@@ -75,11 +76,13 @@ InkboardDocument::changeConfigureText(Glib::ustring target, unsigned int version
}
void
-InkboardDocument::changeConfigure(Glib::ustring target, unsigned int version,
- Glib::ustring attribute, Glib::ustring value)
+InkboardDocument::changeConfigure(Glib::ustring target,
+ unsigned int /*version*/,
+ Glib::ustring attribute,
+ Glib::ustring value)
{
XML::Node *node = this->tracker->get(target);
- unsigned int elementVersion = this->tracker->getVersion(node);
+ //unsigned int elementVersion = this->tracker->getVersion(node);
if(node)// && version == (elementVersion + 1))
{
void
InkboardDocument::changeNew(Glib::ustring parentid, Glib::ustring id,
- signed int index, Pedro::Element* data)
+ signed int /*index*/, Pedro::Element* data)
{
Glib::ustring name(data->getName());
index b101047cb006266d2a6f19d4302eb3cb531a3a86..95ef0c96ad10ad6a283f187e953d17c1a3e6b439 100644 (file)
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
//#########################################################################
-void Roster::doubleClickCallback(const Gtk::TreeModel::Path &path,
- Gtk::TreeViewColumn *col)
+void Roster::doubleClickCallback(const Gtk::TreeModel::Path &/*path*/,
+ Gtk::TreeViewColumn */*col*/)
{
Glib::RefPtr<Gtk::TreeModel> model = rosterView.get_model();
Glib::RefPtr<Gtk::TreeSelection> sel = rosterView.get_selection();
//#########################################################################
//# U S E R L I S T
//#########################################################################
-void UserList::doubleClickCallback(const Gtk::TreeModel::Path &path,
- Gtk::TreeViewColumn *col)
+void UserList::doubleClickCallback(const Gtk::TreeModel::Path &/*path*/,
+ Gtk::TreeViewColumn */*col*/)
{
Glib::RefPtr<Gtk::TreeModel> model = userList.get_model();
Glib::RefPtr<Gtk::TreeSelection> sel = userList.get_selection();
bool GroupChatWindow::receivePresence(const DOMString &fromNick,
bool presence,
const DOMString &show,
- const DOMString &status)
+ const DOMString &/*status*/)
{
DOMString presStr = "";
void ConnectDialog::doubleClickCallback(
- const Gtk::TreeModel::Path &path,
- Gtk::TreeViewColumn *col)
+ const Gtk::TreeModel::Path &/*path*/,
+ Gtk::TreeViewColumn */*col*/)
{
Glib::RefPtr<Gtk::TreeModel> model = accountView.get_model();
Glib::RefPtr<Gtk::TreeSelection> sel = accountView.get_selection();
index 3187612590c8ee5d92de6f0cbbc67b00d51bcb1d..53cc8f5b4e53f71539800558a2064f45eb677853 100644 (file)
InkboardDocument* getInkboardSession(Glib::ustring const& to);
- void operator=(XmppEventListener const& other) {}
+ void operator=(XmppEventListener const& /*other*/)
+ {}
private:
index f3fb96e72e5704ac4b171b924957583d116bfcc7..be8c6c665b8297bf3becefea1398089ceb68be35 100644 (file)
--- a/src/pedro/pedroconfig.h
+++ b/src/pedro/pedroconfig.h
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005-2007 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
/**
*
*/
- XmppConfig(const XmppConfig &other)
+ XmppConfig(const XmppConfig &other) : XmppEventTarget(other)
{ assign(other); }
/**
diff --git a/src/sp-skeleton.cpp b/src/sp-skeleton.cpp
index 878d8f31b590919fb6fe52931cf6b03e20480f2b..ee0c9626b9623695732aea3987f84ce584e0730c 100644 (file)
--- a/src/sp-skeleton.cpp
+++ b/src/sp-skeleton.cpp
{
debug("0x%p %s(%u): '%s'",object,
sp_attribute_name(key),key,value ? value : "<no value>");
- SPSkeleton *skeleton = SP_SKELETON(object);
+ //SPSkeleton *skeleton = SP_SKELETON(object);
/* See if any parents need this value. */
if (((SPObjectClass *) skeleton_parent_class)->set) {
diff --git a/src/style-test.cpp b/src/style-test.cpp
index 1349bd00a7fd00e9200fe2cfceaaa8ffa347ca98..d390ae79fe815c9d7dc72c7c0850e01384eb8399 100644 (file)
--- a/src/style-test.cpp
+++ b/src/style-test.cpp
* `px') for better CSS interoperability.
*/
static void
-unitful_length_val(char const prop[], char const *const dummy_vals[])
+unitful_length_val(char const /*prop*/[], char const *const dummy_vals[])
{
/* todo */
assert(dummy_vals == NULL);
}
static void
-suppress_warning_log_handler(gchar const *log_domain, GLogLevelFlags /*log_level*/,
- gchar const *message,
+suppress_warning_log_handler(gchar const */*log_domain*/,
+ GLogLevelFlags /*log_level*/,
+ gchar const */*message*/,
gpointer /*user_data*/)
{
/* todo: We could strncpy message to a static buffer for later testing with