diff options
author | Murray Cumming <murrayc@murrayc.com> | 2011-01-17 09:08:16 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-01-17 09:08:16 +0100 |
commit | 8dcd15ab4531758cbb48e85c15bbad9704d1e1e2 (patch) | |
tree | 6ba820f3f831bea4571f300355ac8190f98dff27 /examples/dbus/busserver.cc | |
parent | 46a6c16c5eeda14aadafa2f843c261e92de39790 (diff) | |
download | glibmm-8dcd15ab4531758cbb48e85c15bbad9704d1e1e2.tar.gz |
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.
Diffstat (limited to 'examples/dbus/busserver.cc')
-rw-r--r-- | examples/dbus/busserver.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/dbus/busserver.cc b/examples/dbus/busserver.cc index 3edf2dbb..cac377c7 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**) { |