[gnome-games/wip/exalm/rebrand: 111/124] gameinfo-error: Fold into gameinfo-doc.vala




commit aac9b3a8da7ac780ece25ac55eb9f319b16f498a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Mar 31 00:27:51 2021 +0500

    gameinfo-error: Fold into gameinfo-doc.vala
    
    It's an error domain with just one error, it doesn't deserve a separate
    file.

 src/gameinfo/gameinfo-doc.vala   | 4 ++++
 src/gameinfo/gameinfo-error.vala | 5 -----
 src/meson.build                  | 1 -
 3 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/gameinfo/gameinfo-doc.vala b/src/gameinfo/gameinfo-doc.vala
index 6c8e3132..f0f680c0 100644
--- a/src/gameinfo/gameinfo-doc.vala
+++ b/src/gameinfo/gameinfo-doc.vala
@@ -69,3 +69,7 @@ public class Games.GameinfoDoc : Object {
                return xml_doc.get_contents (expr);
        }
 }
+
+private errordomain Games.GameinfoError {
+       DISC_NOT_FOUND,
+}
diff --git a/src/meson.build b/src/meson.build
index 3fc7b1f6..fa2b726c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -55,7 +55,6 @@ vala_sources = [
   'dummy/dummy-icon.vala',
 
   'gameinfo/gameinfo-doc.vala',
-  'gameinfo/gameinfo-error.vala',
 
   'gamepad/gamepad-dpad.vala',
   'gamepad/gamepad-input.vala',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]