[Xfce4-commits] [xfce/xfwm4] 02/07: Fix icons transparency

noreply at xfce.org noreply at xfce.org
Fri Feb 6 22:23:07 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit c652f0bc06279e89c7137cd25129a40a6b94f649
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Fri Feb 6 21:55:22 2015 +0100

    Fix icons transparency
    
    Bug 11512
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/icons.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/icons.c b/src/icons.c
index 40ebd41..58b356a 100644
--- a/src/icons.c
+++ b/src/icons.c
@@ -423,9 +423,8 @@ get_pixbuf_from_pixmap (GdkScreen *gscreen, Pixmap xpixmap, guint src_x, guint s
     }
 
     cmap = get_cmap (drawable, gscreen);
-    retval = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, width, height);
-    gdk_pixbuf_get_from_drawable (retval, drawable, cmap, src_x, src_y,
-                                  dest_x, dest_y, width, height);
+    retval = gdk_pixbuf_get_from_drawable (NULL, drawable, cmap, src_x, src_y,
+                                           dest_x, dest_y, width, height);
 
     if (G_LIKELY(cmap))
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list