forked from pool/gnome-control-center
17 lines
596 B
Diff
17 lines
596 B
Diff
Index: gnome-control-center-2.24.0/capplets/appearance/appearance-font.c
|
|
===================================================================
|
|
--- gnome-control-center-2.24.0.orig/capplets/appearance/appearance-font.c
|
|
+++ gnome-control-center-2.24.0/capplets/appearance/appearance-font.c
|
|
@@ -759,8 +759,10 @@ dpi_load (GConfClient *client,
|
|
if (value) {
|
|
dpi = gconf_value_get_float (value);
|
|
gconf_value_free (value);
|
|
- } else
|
|
+ } else {
|
|
dpi = get_dpi_from_x_server ();
|
|
+ dpi = DPI_FALLBACK;
|
|
+ }
|
|
|
|
if (dpi < DPI_LOW_REASONABLE_VALUE)
|
|
dpi = DPI_LOW_REASONABLE_VALUE;
|