[gnome-games/wip/exalm/retro-runner: 6/7] retro-runner: Remove from_builder() constructor name
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/retro-runner: 6/7] retro-runner: Remove from_builder() constructor name
- Date: Fri, 4 Jan 2019 07:57:40 +0000 (UTC)
commit 41b1fc4e154a38f37441fd5bd6aa285d6da04f6e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Fri Jan 4 03:05:06 2019 +0500
retro-runner: Remove from_builder() constructor name
Since it's the only constructor now, make it unnamed.
src/retro/retro-runner-builder.vala | 2 +-
src/retro/retro-runner.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/retro/retro-runner-builder.vala b/src/retro/retro-runner-builder.vala
index 8501a5fa..2f1150e5 100644
--- a/src/retro/retro-runner-builder.vala
+++ b/src/retro/retro-runner-builder.vala
@@ -51,6 +51,6 @@ public class Games.RetroRunnerBuilder : Object {
return_val_if_fail (title != null, null);
return_val_if_fail (platform != null, null);
- return new RetroRunner.from_builder (this);
+ return new RetroRunner (this);
}
}
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index e6dc17f6..03c462df 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -77,7 +77,7 @@ public class Games.RetroRunner : Object, Runner {
private bool is_ready;
private bool should_save;
- internal RetroRunner.from_builder (RetroRunnerBuilder builder) {
+ internal RetroRunner (RetroRunnerBuilder builder) {
is_initialized = false;
is_ready = false;
should_save = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]