aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-05-04 17:49:03 +0200
committerRobert Tari <robert@tari.in>2021-05-04 17:49:03 +0200
commitd68a7de3d6b359db7b1673108cb2aec6edb6afd5 (patch)
treeca5f4477f6bdf9db6ed2efe82f176908c81e8026 /tools
parent5cd5b0c2dfd155fce79333eea4349b4f037a0539 (diff)
parentf2b0b013de253f5eddeacbae718f0b8e19fcc8f7 (diff)
downloadlibayatana-indicator-d68a7de3d6b359db7b1673108cb2aec6edb6afd5.tar.gz
libayatana-indicator-d68a7de3d6b359db7b1673108cb2aec6edb6afd5.tar.bz2
libayatana-indicator-d68a7de3d6b359db7b1673108cb2aec6edb6afd5.zip
Merge branch 'sunweaver-pr/travis-ci'
Attributes GH PR #42: https://github.com/AyatanaIndicators/libayatana-indicator/pull/42
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am2
-rw-r--r--tools/indicator-loader.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 6f85429..e871921 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -15,7 +15,7 @@ ayatana_indicator_loader_SOURCES = \
indicator-loader.c
ayatana_indicator_loader_CFLAGS = \
- -Wall -Werror \
+ -Wall \
$(LIBINDICATOR_CFLAGS) \
$(LIBINDICATOR_IDO_CFLAGS) -I$(top_srcdir) \
-DBUILD_DIR="\"$(builddir)\""
diff --git a/tools/indicator-loader.c b/tools/indicator-loader.c
index 7c30a59..5b236db 100644
--- a/tools/indicator-loader.c
+++ b/tools/indicator-loader.c
@@ -160,9 +160,9 @@ entry_added (IndicatorObject * io,
}
static void
-entry_removed (IndicatorObject * io,
+entry_removed (__attribute__((unused)) IndicatorObject * io,
IndicatorObjectEntry * entry,
- gpointer user_data)
+ __attribute__((unused)) gpointer user_data)
{
GtkWidget * w;
@@ -173,10 +173,10 @@ entry_removed (IndicatorObject * io,
}
static void
-menu_show (IndicatorObject * io,
+menu_show (__attribute__((unused)) IndicatorObject * io,
IndicatorObjectEntry * entry,
- guint timestamp,
- gpointer user_data)
+ __attribute__((unused)) guint timestamp,
+ __attribute__((unused)) gpointer user_data)
{
const char * text;