f72cc1aecb
This ebuild provides for x11-misc/notify-osd, which was requested on Sabayon's bugzilla: https://bugs.sabayon.org/show_bug.cgi?id=1930 This ebuild was sourced from Gilles Dartiguelongue's <eva@gentoo.org> developer overlay at Gentoo: http://git.overlays.gentoo.org/gitweb/?p=dev/eva.git;a=summary
13 lines
299 B
Diff
13 lines
299 B
Diff
--- a/src/defaults.c 2009-12-06 20:49:06.000000000 +0100
|
|
+++ b/src/defaults.c 2009-12-06 18:11:16.000000000 +0100
|
|
@@ -233,6 +233,9 @@
|
|
g_error_free (error);
|
|
}
|
|
|
|
+ if (dpi == 0.0f)
|
|
+ dpi = DEFAULT_SCREEN_DPI;
|
|
+
|
|
/* update stored DPI-value */
|
|
pixels_per_em = (gdouble) points * dpi / 72.0f;
|
|
|