[vala/0.48] test/gtktemplate: Use correct class name
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] test/gtktemplate: Use correct class name
- Date: Thu, 17 Feb 2022 08:47:06 +0000 (UTC)
commit ad38fc43aced7ba361e896f2f974f9bff0d30922
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Feb 9 00:05:24 2022 +0100
test/gtktemplate: Use correct class name
tests/gtktemplate/gtkcallback-incompatible.test | 2 +-
tests/gtktemplate/gtkcallback-unknown.test | 2 +-
tests/gtktemplate/gtkchild-field-incompatible-type.test | 2 +-
tests/gtktemplate/gtkchild-field-unknown.test | 2 +-
tests/gtktemplate/gtkchild-property-not-automatic.test | 2 +-
tests/gtktemplate/gtkchild-property-unknown.test | 2 +-
tests/gtktemplate/gtkchild-without-gtktemplate.test | 2 +-
tests/gtktemplate/gtktemplate-gtkwidget-subclass.test | 2 +-
tests/gtktemplate/gtktemplate.vala | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/tests/gtktemplate/gtkcallback-incompatible.test b/tests/gtktemplate/gtkcallback-incompatible.test
index 226408ff1..8a0d30996 100644
--- a/tests/gtktemplate/gtkcallback-incompatible.test
+++ b/tests/gtktemplate/gtkcallback-incompatible.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkCallback]
void on_clicked_cb (string s) {
}
diff --git a/tests/gtktemplate/gtkcallback-unknown.test b/tests/gtktemplate/gtkcallback-unknown.test
index 3158da85e..e7d3464e4 100644
--- a/tests/gtktemplate/gtkcallback-unknown.test
+++ b/tests/gtktemplate/gtkcallback-unknown.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkCallback]
void on_unknown_cb (Gtk.Button button) {
}
diff --git a/tests/gtktemplate/gtkchild-field-incompatible-type.test
b/tests/gtktemplate/gtkchild-field-incompatible-type.test
index 1ce026135..ad867410f 100644
--- a/tests/gtktemplate/gtkchild-field-incompatible-type.test
+++ b/tests/gtktemplate/gtkchild-field-incompatible-type.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkChild]
public unowned Gtk.Box button0;
}
diff --git a/tests/gtktemplate/gtkchild-field-unknown.test b/tests/gtktemplate/gtkchild-field-unknown.test
index 2e23ea0b4..9c6e68ae0 100644
--- a/tests/gtktemplate/gtkchild-field-unknown.test
+++ b/tests/gtktemplate/gtkchild-field-unknown.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkChild]
public unowned Gtk.Button unknown;
}
diff --git a/tests/gtktemplate/gtkchild-property-not-automatic.test
b/tests/gtktemplate/gtkchild-property-not-automatic.test
index e46cee574..28329dc2b 100644
--- a/tests/gtktemplate/gtkchild-property-not-automatic.test
+++ b/tests/gtktemplate/gtkchild-property-not-automatic.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkChild]
public unowned Gtk.Button button0 { get { return null; } }
}
diff --git a/tests/gtktemplate/gtkchild-property-unknown.test
b/tests/gtktemplate/gtkchild-property-unknown.test
index caa6218f3..1d6651532 100644
--- a/tests/gtktemplate/gtkchild-property-unknown.test
+++ b/tests/gtktemplate/gtkchild-property-unknown.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkChild]
public unowned Gtk.Button unknown { get; }
}
diff --git a/tests/gtktemplate/gtkchild-without-gtktemplate.test
b/tests/gtktemplate/gtkchild-without-gtktemplate.test
index 33d32ea4e..49e09c0ed 100644
--- a/tests/gtktemplate/gtkchild-without-gtktemplate.test
+++ b/tests/gtktemplate/gtkchild-without-gtktemplate.test
@@ -1,6 +1,6 @@
Invalid Code
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkChild]
public unowned Gtk.Button button0;
}
diff --git a/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test
b/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test
index bea1b3b86..55e7424bd 100644
--- a/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test
+++ b/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test
@@ -1,7 +1,7 @@
Invalid Code
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : GLib.Object {
+public class GtkTemplateTest : GLib.Object {
}
void main () {
diff --git a/tests/gtktemplate/gtktemplate.vala b/tests/gtktemplate/gtktemplate.vala
index fa6317ff0..737d94fb4 100644
--- a/tests/gtktemplate/gtktemplate.vala
+++ b/tests/gtktemplate/gtktemplate.vala
@@ -1,5 +1,5 @@
[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
[GtkChild]
public Gtk.Button button0 { get; set; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]