summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-02-11 07:46:17 +0000
committerSimon McVittie <smcv@debian.org>2024-03-16 17:25:53 +0000
commit3eb26ef6ee829c810af3042c57c8349b44a9ecf9 (patch)
tree380932c100589f1e8e8712e4dcb23fdbbd4c496e
parent1202b7829c5113123b5f8acc56feae426ed8f966 (diff)
Fix build failure with Vala >= 0.38
Signed-off-by: Simon McVittie <smcv@debian.org> Bug-Debian: https://bugs.debian.org/921782 Gbp-Pq: Name Fix-build-failure-with-Vala-0.38.patch
-rw-r--r--src/vala/gmpc-easy-command.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vala/gmpc-easy-command.vala b/src/vala/gmpc-easy-command.vala
index 91fe5bd..f16774a 100644
--- a/src/vala/gmpc-easy-command.vala
+++ b/src/vala/gmpc-easy-command.vala
@@ -140,7 +140,7 @@ public class Gmpc.Easy.Command: Gmpc.Plugin.Base {
* param data the user data passed.
* param param a string with the extra parameters passed to the command
*/
- public delegate void Callback(void *data, string param);
+ public static delegate void Callback(void *data, string param);
/**
* Add a match entry to the Easy command object.