[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: Mon, 7 Jan 2019 08:27:12 +0000 (UTC)
commit cd428d69a60f2a972861f7cdb16a4348bb074739
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]