[gnome-games/wip/exalm/ds: 1/15] retro-runner: Don't save x-dpi and y-dpi for screenshots
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/ds: 1/15] retro-runner: Don't save x-dpi and y-dpi for screenshots
- Date: Wed, 14 Aug 2019 11:46:11 +0000 (UTC)
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]