[gnome-settings-daemon] xsettings: Remove unused constants
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: Remove unused constants
- Date: Tue, 27 Feb 2018 15:35:34 +0000 (UTC)
commit b2a99848f6010068385e66a8e2f93b0b4f7ce4d3
Author: Bastien Nocera <hadess hadess net>
Date: Thu Feb 22 13:05:35 2018 +0100
xsettings: Remove unused constants
Those constants should have been removed along with the code that used
them in 8a51cd0.
https://bugzilla.gnome.org/show_bug.cgi?id=793721
plugins/xsettings/gsd-xsettings-manager.c | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 342984e0..d4373143 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -230,17 +230,6 @@ typedef enum _DisplayLayoutMode {
*/
#define DPI_FALLBACK 96
-/* The minimum resolution at which we turn on a window-scale of 2 */
-#define HIDPI_LIMIT (DPI_FALLBACK * 2)
-
-/* The minimum screen height at which we turn on a window-scale of 2;
- * below this there just isn't enough vertical real estate for GNOME
- * apps to work, and it's better to just be tiny */
-#define HIDPI_MIN_HEIGHT 1200
-
-/* From http://en.wikipedia.org/wiki/4K_resolution#Resolutions_of_common_formats */
-#define SMALLEST_4K_WIDTH 3656
-
typedef struct _TranslationEntry TranslationEntry;
typedef void (* TranslationFunc) (GnomeXSettingsManager *manager,
TranslationEntry *trans,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]