[gnome-games/wip/exalm/ds: 1/15] retro-runner: Don't save x-dpi and y-dpi for screenshots



commit a67f317f647de4408215cc19db02910d6e2a6033
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Wed Aug 14 12:53:29 2019 +0500

    retro-runner: Don't save x-dpi and y-dpi for screenshots
    
    They are rounded to integers, and they are deprecated now anyway.

 src/retro/retro-runner.vala | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index fd81b851..37a16ad4 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -587,9 +587,6 @@ public class Games.RetroRunner : Object, Runner {
                }
                var title = game_title.get_title ();
 
-               var x_dpi = pixbuf.get_option ("x-dpi") ?? "";
-               var y_dpi = pixbuf.get_option ("y-dpi") ?? "";
-
                // See http://www.libpng.org/pub/png/spec/iso/index-object.html#11textinfo
                // for description of used keys. "Game Title" and "Platform" are
                // non-standard fields as allowed by PNG specification.
@@ -599,9 +596,6 @@ public class Games.RetroRunner : Object, Runner {
                             "tEXt::Creation Time", creation_time.to_string (),
                             "tEXt::Game Title", title,
                             "tEXt::Platform", platform_name,
-                            // FIXME: x-dpi and y-dpi are not actually being saved.
-                            "x-dpi", x_dpi,
-                            "y-dpi", y_dpi,
                             null);
        }
 


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