diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 09:36:54 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-01-27 09:36:54 +0100 |
commit | f62c629fff89371af4630ebe8bc74b8075fbf52a (patch) | |
tree | 6a840d2b29bc3c0571446562218c4f9296bf73dd /src | |
parent | 1ea9f8bdeb14b770a98a6f33d548d51bfed72cb8 (diff) | |
parent | c77322a1155bc22862bfbbf6d8a18a2c42c3f151 (diff) | |
download | ayatana-indicator-session-f62c629fff89371af4630ebe8bc74b8075fbf52a.tar.gz ayatana-indicator-session-f62c629fff89371af4630ebe8bc74b8075fbf52a.tar.bz2 ayatana-indicator-session-f62c629fff89371af4630ebe8bc74b8075fbf52a.zip |
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #65: https://github.com/AyatanaIndicators/ayatana-indicator-session/pull/65
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c index 4aefb8a..25e909f 100644 --- a/src/service.c +++ b/src/service.c @@ -349,7 +349,7 @@ get_current_real_name (IndicatorSessionService * self) static gboolean usage_mode_to_action_state(GValue *value, GVariant *variant, - gpointer unused) + __attribute__((unused)) gpointer unused) { const gchar* usage_mode = g_variant_get_string(variant, NULL); GVariant* ret_var = g_variant_new_boolean(g_strcmp0(usage_mode, "Windowed") == 0 ? TRUE : FALSE); @@ -359,8 +359,8 @@ usage_mode_to_action_state(GValue *value, static GVariant* action_state_to_usage_mode(const GValue *value, - const GVariantType * unused_expected_type, - gpointer unused) + __attribute__((unused)) const GVariantType * unused_expected_type, + __attribute__((unused)) gpointer unused) { GVariant* var = g_value_get_variant(value); GVariant* ret = g_variant_new_string(g_variant_get_boolean(var) == TRUE ? "Windowed" : "Staged"); |