[gimp] app: splash max size now half of width and height.



commit fae9c283546808adc4719f51eefa11663b61dcd8
Author: Jehan <jehan girinstud io>
Date:   Mon Mar 26 21:16:04 2018 +0200

    app: splash max size now half of width and height.
    
    Apparently former 2/3 value was too big according to some.
    This makes the splash take now at most a quarter of the screen area. I
    really don't think that's too much anymore.

 app/gui/splash.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/gui/splash.c b/app/gui/splash.c
index d67f4fe..92eeabd 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -112,8 +112,8 @@ splash_create (gboolean   be_verbose,
   g_return_if_fail (splash == NULL);
   g_return_if_fail (GDK_IS_SCREEN (screen));
 
-  max_width  = gdk_screen_get_width (screen) * 2 / 3;
-  max_height = gdk_screen_get_height (screen) * 2 / 3;
+  max_width  = gdk_screen_get_width (screen) / 2;
+  max_height = gdk_screen_get_height (screen) / 2;
   pixbuf = splash_image_load (max_width, max_height, be_verbose);
 
   if (! pixbuf)


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