[Xfce4-commits] [xfce/xfdesktop] 01/01: Ignore gdk_pixbuf_from_pixdata being deprecated

noreply at xfce.org noreply at xfce.org
Mon Aug 10 16:56:32 CEST 2015


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

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 61729c716d9a46ca56f43be2e52c9bdff7e227da
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Mon Aug 10 17:50:53 2015 +0300

    Ignore gdk_pixbuf_from_pixdata being deprecated
---
 src/xfce-backdrop.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c
index 0344566..f3c8d58 100644
--- a/src/xfce-backdrop.c
+++ b/src/xfce-backdrop.c
@@ -229,8 +229,10 @@ create_gradient(GdkColor *color1, GdkColor *color2, gint width, gint height,
                 memcpy(pixdata.pixel_data+(i*pixdata.rowstride)+(j*3), rgb, 3);
         }
     }
-    
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
     pix = gdk_pixbuf_from_pixdata(&pixdata, TRUE, &err);
+G_GNUC_END_IGNORE_DEPRECATIONS
     if(!pix) {
         g_warning("%s: Unable to create color gradient: %s\n", PACKAGE,
                 err->message);

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


More information about the Xfce4-commits mailing list