summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/granite/files/granite-0.3.0-build-fix3.patch')
-rw-r--r--dev-libs/granite/files/granite-0.3.0-build-fix3.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/granite/files/granite-0.3.0-build-fix3.patch b/dev-libs/granite/files/granite-0.3.0-build-fix3.patch
new file mode 100644
index 000000000000..145d552c7a04
--- /dev/null
+++ b/dev-libs/granite/files/granite-0.3.0-build-fix3.patch
@@ -0,0 +1,24 @@
+=== modified file 'lib/Widgets/DynamicNotebook.vala'
+--- lib/Widgets/DynamicNotebook.vala 2014-07-31 12:41:52 +0000
++++ lib/Widgets/DynamicNotebook.vala 2014-08-30 13:28:37 +0000
+@@ -658,10 +658,19 @@
+ /**
+ * The text shown in the add button tooltip
+ */
++#if VALA_0_26
++ public string add_button_tooltip {
++ get { _add_button_tooltip = add_button.tooltip_text; return _add_button_tooltip; }
++ set { add_button.tooltip_text = value; }
++ }
++ // Use temporary field to avoid breaking API this can be dropped while preparing for 0.4
++ string _add_button_tooltip;
++#else
+ public string add_button_tooltip {
+ get { return add_button.tooltip_text; }
+ set { add_button.tooltip_text = value; }
+ }
++#endif
+
+ public Tab current {
+ get { return tabs.nth_data (notebook.get_current_page ()); }
+