[Xfce4-commits] [apps/xfce4-screensaver] 109/425: Fix segfault with GTK3

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:49:16 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 483b70e814cf2c012a9186da78d15cdbcd3aec1e
Author: Stefano Karapetsas <stefano at karapetsas.com>
Date:   Tue Nov 12 23:56:21 2013 +0100

    Fix segfault with GTK3
---
 src/gs-window-x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 8ba2d37..479c826 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -808,7 +808,7 @@ out:
 	g_free (std_output);
 	g_free (command);
 
-	return visual;
+	return g_object_ref (visual);
 }
 
 #if GTK_CHECK_VERSION (3, 0, 0)

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


More information about the Xfce4-commits mailing list