[vala/staging] signalmodule: Fix deprecation of signals
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] signalmodule: Fix deprecation of signals
- Date: Tue, 7 Mar 2017 15:50:28 +0000 (UTC)
commit b5ae45ed77c7eb5d93c04bb16828ab164859f498
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Mar 7 16:49:20 2017 +0100
signalmodule: Fix deprecation of signals
codegen/valagsignalmodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagsignalmodule.vala b/codegen/valagsignalmodule.vala
index 6e87a42..9eb567c 100644
--- a/codegen/valagsignalmodule.vala
+++ b/codegen/valagsignalmodule.vala
@@ -366,7 +366,7 @@ public class Vala.GSignalModule : GObjectModule {
flags += "G_SIGNAL_NO_HOOKS";
}
- if (sig.get_attribute ("Deprecated") != null) {
+ if (sig.version.deprecated) {
flags += "G_SIGNAL_DEPRECATED";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]