[geary] Fix build on systems with vala <= 0.30.0
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Fix build on systems with vala <= 0.30.0
- Date: Wed, 1 Feb 2017 13:48:46 +0000 (UTC)
commit ba4863e45a3f054503d5a7bb4245a8cd7dcbc676
Author: Michael James Gratton <mike vee net>
Date: Thu Feb 2 00:47:01 2017 +1100
Fix build on systems with vala <= 0.30.0
* src/client/application/geary-application.vala: Replace use of Version
attr with Deprecated.
src/client/application/geary-application.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/client/application/geary-application.vala b/src/client/application/geary-application.vala
index ebba8a5..324cebf 100644
--- a/src/client/application/geary-application.vala
+++ b/src/client/application/geary-application.vala
@@ -62,7 +62,7 @@ public class GearyApplication : Gtk.Application {
private const int64 FORCE_SHUTDOWN_USEC = 5 * USEC_PER_SEC;
- [Version(deprecated = true)]
+ [Deprecated]
public static GearyApplication instance {
get { return _instance; }
private set {
@@ -343,7 +343,7 @@ public class GearyApplication : Gtk.Application {
*
* @deprecated Use {@link GioUtil.create_builder} instead.
*/
- [Version (deprecated = true)]
+ [Deprecated]
public Gtk.Builder create_builder(string name) {
return GioUtil.create_builder(name);
}
@@ -353,7 +353,7 @@ public class GearyApplication : Gtk.Application {
*
* @deprecated Use {@link GioUtil.read_resource} instead.
*/
- [Version (deprecated = true)]
+ [Deprecated]
public string read_resource(string name) throws Error {
return GioUtil.read_resource(name);
}
@@ -361,7 +361,7 @@ public class GearyApplication : Gtk.Application {
/**
* Loads a UI GResource into the UI manager.
*/
- [Version (deprecated = true)]
+ [Deprecated]
public void load_ui_resource(string name) {
try {
this.ui_manager.add_ui_from_resource("/org/gnome/Geary/" + name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]