[glibmm] Fix the make check build.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Fix the make check build.
- Date: Mon, 17 Jan 2011 08:13:45 +0000 (UTC)
commit 8dcd15ab4531758cbb48e85c15bbad9704d1e1e2
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Jan 17 09:08:16 2011 +0100
Fix the make check build.
* examples/dbus/busserver.cc: Comment out unused methods, to fix the
build. I guess this example is still in progress. Otherwise, the commented
code should really be removed.
ChangeLog | 8 ++++++++
examples/dbus/busserver.cc | 10 +++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d5c09fd..a9b0ab4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-17 Murray Cumming <murrayc murrayc com>
+
+ Fix the make check build.
+
+ * examples/dbus/busserver.cc: Comment out unused methods, to fix the
+ build. I guess this example is still in progress. Otherwise, the commented
+ code should really be removed.
+
2010-12-22 Murray Cumming <murrayc murrayc com>
gmmproc: _CLASS_GOBJECT: reverted removal of __REAL_* arguments.
diff --git a/examples/dbus/busserver.cc b/examples/dbus/busserver.cc
index 3edf2db..cac377c 100644
--- a/examples/dbus/busserver.cc
+++ b/examples/dbus/busserver.cc
@@ -56,10 +56,11 @@ static Glib::TimeVal curr_alarm;
} // anonymous namespace
+/* TODO: This code does not seem to be used. murrayc.
static void on_method_call(const Glib::RefPtr<Gio::DBusConnection>& connection,
- const Glib::ustring& /* sender */, const Glib::ustring& /* object_path */,
- const Glib::ustring& /* interface_name */, const Glib::ustring& method_name,
- const Glib::VariantBase& /* parameters */,
+ const Glib::ustring& sender, const Glib::ustring& object_path,
+ const Glib::ustring& interface_name, const Glib::ustring& method_name,
+ const Glib::VariantBase& parameters,
const Glib::RefPtr<Gio::DBusMethodInvocation>& invocation)
{
if(method_name == "GetTime")
@@ -148,6 +149,7 @@ static void on_method_call(const Glib::RefPtr<Gio::DBusConnection>& connection,
invocation->return_gerror(error);
}
}
+*/
void on_get_property(Glib::VariantBase& property,
const Glib::RefPtr<Gio::DBusConnection>& /* connection */,
@@ -176,6 +178,7 @@ void on_get_property(Glib::VariantBase& property,
}
}
+/** TODO: This code does not seem to be used. murrayc.
bool on_set_property(const Glib::RefPtr<Gio::DBusConnection>& connection,
const Glib::ustring& sender, const Glib::ustring& object_path,
const Glib::ustring& interface_name, const Glib::ustring& property_name,
@@ -188,6 +191,7 @@ bool on_set_property(const Glib::RefPtr<Gio::DBusConnection>& connection,
{
}
}
+*/
int main(int, char**)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]