aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:45:24 +0200
committerCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:45:24 +0200
commit6dfd01c5db87f659beb5c53c0c3ea1f57ab0701b (patch)
tree024b4b37bbcdf8ba3d24ee48b690ebeb6d029727
parent020e49163abd558ae095ab9a00b6b69b4fdaef2a (diff)
downloadayatana-indicator-display-6dfd01c5db87f659beb5c53c0c3ea1f57ab0701b.tar.gz
ayatana-indicator-display-6dfd01c5db87f659beb5c53c0c3ea1f57ab0701b.tar.bz2
ayatana-indicator-display-6dfd01c5db87f659beb5c53c0c3ea1f57ab0701b.zip
fix two trivial 'unused parameter' warnings in glib callbacks
-rw-r--r--src/greeter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/greeter.cpp b/src/greeter.cpp
index 962a01d..9bd5db0 100644
--- a/src/greeter.cpp
+++ b/src/greeter.cpp
@@ -104,7 +104,7 @@ private:
static void on_greeter_appeared(
GDBusConnection* bus,
- const char* name,
+ const char* /*name*/,
const char* name_owner,
gpointer gself)
{
@@ -129,7 +129,7 @@ private:
static void on_greeter_vanished(
GDBusConnection* /*bus*/,
- const char* name,
+ const char* /*name*/,
gpointer gself)
{
auto self = static_cast<Impl*>(gself);