File gnome-session-bnc389137-splash-layout.patch of Package gnome-session

Index: gnome-session-2.23.6/splash/splash-window.c
===================================================================
--- gnome-session-2.23.6.orig/splash/splash-window.c
+++ gnome-session-2.23.6/splash/splash-window.c
@@ -41,7 +41,7 @@ G_DEFINE_TYPE (GsmSplashWindow, gsm_spla
 #define SPLASH_ICON_BORDER  26
 #define SPLASH_ICON_SPACING 4
 #define SPLASH_ICON_V_OFFSET 28
-#define SPLASH_BASE_ICON_SIZE 36
+#define SPLASH_BASE_ICON_SIZE 22
 #define SPLASH_BASE_ICON_ROWS 1
 
 static gboolean update_trans_effect (gpointer);
@@ -340,7 +340,7 @@ layout_icon (GsmSplashWindow *splash,
         if (!si->scaled) {
                 if (gdk_pixbuf_get_width (si->unscaled) == splash->icon_size &&
                     gdk_pixbuf_get_height (si->unscaled) == splash->icon_size) {
-                        si->scaled = g_object_ref (si->unscaled);
+                        si->scaled = gdk_pixbuf_copy (si->unscaled);
                 } else {
                         si->scaled = gdk_pixbuf_scale_simple (si->unscaled, splash->icon_size,
                                                               splash->icon_size,
@@ -469,7 +469,7 @@ gsm_splash_window_start (GsmSplashWindow
 
         pb = gtk_icon_theme_load_icon (splash->icon_theme,
                                        icon_name,
-                                       48, /* icon size */
+                                       22, /* icon size */
                                        0 /* flags */,
                                        NULL);
         if (!pb) {
openSUSE Build Service is sponsored by