59 lines
2.2 KiB
Diff
59 lines
2.2 KiB
Diff
From 4a7ca820b1d3d6130fedf254dc5b4cd7efb58f2c Mon Sep 17 00:00:00 2001
|
|
From: Rico Tzschichholz <ricotz@ubuntu.com>
|
|
Date: Sat, 8 Apr 2023 13:06:50 +0200
|
|
Subject: [PATCH] client: Add missing type-arguments for interfaces to fix
|
|
build with newer vala
|
|
|
|
---
|
|
src/client/accounts/accounts-editor-row.vala | 2 +-
|
|
src/client/accounts/accounts-editor-servers-pane.vala | 6 +++---
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/src/client/accounts/accounts-editor-row.vala b/src/client/accounts/accounts-editor-row.vala
|
|
index 6e7ac2ab9..70223d717 100644
|
|
--- a/src/client/accounts/accounts-editor-row.vala
|
|
+++ b/src/client/accounts/accounts-editor-row.vala
|
|
@@ -386,7 +386,7 @@ private abstract class Accounts.ServiceRow<PaneType,V> : AccountRow<PaneType,V>
|
|
|
|
|
|
/** Interface for rows that use a validator for editable values. */
|
|
-internal interface Accounts.ValidatingRow : EditorRow {
|
|
+internal interface Accounts.ValidatingRow<PaneType> : EditorRow<PaneType> {
|
|
|
|
|
|
/** The row's validator */
|
|
diff --git a/src/client/accounts/accounts-editor-servers-pane.vala b/src/client/accounts/accounts-editor-servers-pane.vala
|
|
index 8bd9bde1f..982acd5cf 100644
|
|
--- a/src/client/accounts/accounts-editor-servers-pane.vala
|
|
+++ b/src/client/accounts/accounts-editor-servers-pane.vala
|
|
@@ -694,7 +694,7 @@ private class Accounts.SaveSentRow :
|
|
|
|
|
|
private class Accounts.ServiceHostRow :
|
|
- ServiceRow<EditorServersPane,Gtk.Entry>, ValidatingRow {
|
|
+ ServiceRow<EditorServersPane,Gtk.Entry>, ValidatingRow<EditorServersPane> {
|
|
|
|
|
|
public Components.Validator validator {
|
|
@@ -848,7 +848,7 @@ private class Accounts.ServiceSecurityRow :
|
|
|
|
|
|
private class Accounts.ServiceLoginRow :
|
|
- ServiceRow<EditorServersPane,Gtk.Entry>, ValidatingRow {
|
|
+ ServiceRow<EditorServersPane,Gtk.Entry>, ValidatingRow<EditorServersPane> {
|
|
|
|
|
|
public Components.Validator validator {
|
|
@@ -972,7 +972,7 @@ private class Accounts.ServiceLoginRow :
|
|
|
|
|
|
private class Accounts.ServicePasswordRow :
|
|
- ServiceRow<EditorServersPane,Gtk.Entry>, ValidatingRow {
|
|
+ ServiceRow<EditorServersPane,Gtk.Entry>, ValidatingRow<EditorServersPane> {
|
|
|
|
|
|
public Components.Validator validator {
|
|
--
|
|
GitLab
|
|
|