[Xfce4-commits] [apps/xfce4-screensaver] 395/425: Do not free pixbuf from the background image
    noreply at xfce.org 
    noreply at xfce.org
       
    Mon Oct 15 01:54:02 CEST 2018
    
    
  
This is an automated email from the git hooks/post-receive script.
b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.
commit 52013ccd845db46db49c115006bbfa1475a4fc40
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Oct 11 20:25:57 2018 -0400
    Do not free pixbuf from the background image
---
 src/gs-lock-plug.c | 7 -------
 1 file changed, 7 deletions(-)
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 2dcac57..134406f 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -1931,13 +1931,6 @@ redraw_background (GSLockPlug *plug)
 	GdkPixbuf *pixbuf;
 	gint screen_width, screen_height, monitor_width, monitor_height;
 
-	pixbuf = gtk_image_get_pixbuf (GTK_IMAGE (plug->priv->background_image));
-	if (pixbuf)
-	{
-		g_free(pixbuf);
-		pixbuf = NULL;
-	}
-
 	bg = xfce_bg_new();
 	get_draw_dimensions(plug, bg, &screen_width, &screen_height, &monitor_width, &monitor_height);
 	pixbuf = xfce_bg_get_pixbuf(bg, screen_width, screen_height, monitor_width, monitor_height);
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Xfce4-commits
mailing list