[Xfce4-commits] [xfce/xfwm4] 01/01: Revert change in icons

noreply at xfce.org noreply at xfce.org
Tue Feb 10 23:23:09 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 c64997f8855bc069d01c259fe12c79a93fd4dc08
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Tue Feb 10 23:22:37 2015 +0100

    Revert change in icons
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/icons.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/icons.c b/src/icons.c
index 9250043..1066f1e 100644
--- a/src/icons.c
+++ b/src/icons.c
@@ -423,11 +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, FALSE, 8, width, height);
-    gdk_pixbuf_fill (retval, 0xFF);
-
-    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