[Xfce4-commits] [apps/xfdashboard] 01/01: Fix a compile issue at x11/window-tracker-x11.c when GTK+ prior to version 3.22 is installed.

noreply at xfce.org noreply at xfce.org
Mon Jul 31 07:46:08 CEST 2017


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

n   o   m   a   d       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/xfdashboard.

commit 021bf6b1c2a90805f60c3dff0bfde07b7b4eb551
Author: Stephan Haller <nomad at froevel.de>
Date:   Mon Jul 31 07:44:23 2017 +0200

    Fix a compile issue at x11/window-tracker-x11.c when GTK+ prior to version 3.22 is installed.
    
    One access to priv->needScreenSizeUpdate was not wrapped into #ifdef to handle the code path for GTK+ < 3.22
    
    This commit fixes GH #153
---
 libxfdashboard/x11/window-tracker-x11.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libxfdashboard/x11/window-tracker-x11.c b/libxfdashboard/x11/window-tracker-x11.c
index af788b8..51ca473 100644
--- a/libxfdashboard/x11/window-tracker-x11.c
+++ b/libxfdashboard/x11/window-tracker-x11.c
@@ -1082,7 +1082,9 @@ static void _xfdashboard_window_tracker_x11_on_screen_size_changed(XfdashboardWi
 	priv=self->priv;
 
 	/* Get new total size of screen */
+#if GTK_CHECK_VERSION(3, 22, 0)
 	priv->needScreenSizeUpdate=TRUE;
+#endif
 	xfdashboard_window_tracker_get_screen_size(XFDASHBOARD_WINDOW_TRACKER(self), &w, &h);
 
 	/* Emit signal to tell that screen size has changed */

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


More information about the Xfce4-commits mailing list