pacho 15/06/26 17:03:00
Added: granite-0.3.0-build-fix3.patch
granite-0.3.0-build-fix2.patch
granite-0.3.0-build-fix.patch
Log:
Versio bump (buildable with current vala)
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
A188FBD4)
Revision Changes Path
1.1 dev-libs/granite/files/granite-0.3.0-build-fix3.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/granite/files/granite-0.3.0-build-fix3.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/granite/files/granite-0.3.0-build-fix3.patch?rev=1.1&content-type=text/plain
Index: granite-0.3.0-build-fix3.patch
===================================================================
=== 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 ()); }
1.1 dev-libs/granite/files/granite-0.3.0-build-fix2.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/granite/files/granite-0.3.0-build-fix2.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/granite/files/granite-0.3.0-build-fix2.patch?rev=1.1&content-type=text/plain
Index: granite-0.3.0-build-fix2.patch
===================================================================
=== modified file 'lib/Widgets/DynamicNotebook.vala'
--- lib/Widgets/DynamicNotebook.vala 2014-08-30 13:28:37 +0000
+++ lib/Widgets/DynamicNotebook.vala 2014-09-23 13:43:11 +0000
@@ -941,7 +941,7 @@
notebook.create_window.connect (on_create_window);
}
- ~Notebook () {
+ ~DynamicNotebook () {
notebook.switch_page.disconnect (on_switch_page);
notebook.page_added.disconnect (on_page_added);
notebook.page_removed.disconnect (on_page_removed);
1.1 dev-libs/granite/files/granite-0.3.0-build-fix.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/granite/files/granite-0.3.0-build-fix.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/granite/files/granite-0.3.0-build-fix.patch?rev=1.1&content-type=text/plain
Index: granite-0.3.0-build-fix.patch
===================================================================
=== modified file 'lib/Widgets/ContractorView.vala'
--- lib/Widgets/ContractorView.vala 2014-09-04 12:39:00 +0000
+++ lib/Widgets/ContractorView.vala 2015-03-23 05:21:46 +0000
@@ -35,7 +35,7 @@
public delegate void ContractCallback ();
private Gee.HashMap<int, DelegateWrapper?> outsiders;
private int[] blacklisted_pos;
- private ListStore list;
+ private Gtk.ListStore list;
private struct DelegateWrapper { unowned ContractCallback method; }
@@ -73,7 +73,7 @@
*/
public ContractorView (string filename, string mime, int icon_size = 32,
bool show_contract_name = true) {
/* Setup the ListStore */
- list = new ListStore (2, typeof (Gdk.Pixbuf), typeof (string));
+ list = new Gtk.ListStore (2, typeof (Gdk.Pixbuf), typeof (string));
outsiders = new Gee.HashMap<int, DelegateWrapper?> ();
this.model = list;